User login
Recent blog posts
- Poor server performance when runing a Drupal site & Flash
- Adding files that begin with a hyphen or dash to Subversion (SVN)
- XML Sitemap Quirks and Module Weight
- May Florida Drupal Meeting
- Firefox 2.x + Mac SWFObject Workaround (White Screen Fix)
- Step by Step guilde to installing the Drupal module Google Analytics
- Drupal Hack Attacks
- Step by step guide to installing the Drupal module Find URL Alias
- Step by Step guide to installing the Drupal module Global Redirect
- Drupal Module: SEO Checklist
XML Sitemap Quirks and Module Weight
I just ran across a bug in Drupal that was drastically affecting my XML Sitemap listings. The bug made it so my blog posts were listed as node/{number} in my sitemap rather than the path auto path. After much searching it looks like the module weight on XML Sitemap was set to 2 so it was checking the nodes path before path-auto was setting the path alias.
At this point there's two ways to fix it, either you can hack the database directly to change the weight for XML Sitemap Node or you can download the module called Module Weight. I decided to try out the module weight... umm... module and it worked like a charm. On the module page I updated the XML Sitemap Node modules weight to 10 and my sitemap was then properly fixed!
So if you see node/#### in your sitemap and you know you have a alias already defined for that node than this is the fix for you.
- Andrew M Riley's blog
- Login or register to post comments