Hi - I have seen other posts about this issue but none offer any solution. I have the latest Beta 3 installed. When I go to my sitemap - instead of this (example) URL:

http://www.mysirte.com/barbeque-invitations

I get this listed in the sitemap:

http://www.mysite.com/category/catalog/party-invitations/themed-party-in...

I have tried completely uninstalling/reinstalling but no luck. Any ideas?

thanks

Jason

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jasonabc’s picture

anyone??

jasonabc’s picture

Wow - I guess not :-(

Anonymous’s picture

Does Global Redirect help?

jasonabc’s picture

Hey - thanks for the post. I've never tried Global Redirect but will give it a whirl - thanks. Was hoping that XMLSiteMap would look at the PathAuto alias before generating all the node URLs? From what I've read in this issue queue that is how it is supposed to work but I have the latest version installed, have tried completely uninstalling/reinstalling and still no joy.

Anonymous’s picture

Xmlsitemap uses the normal Drupal core API to get the paths. So, if there is an issue with the path being incorrect it is in the core API.

jasonabc’s picture

Ok - but why doesn't XmlSiteMap reference PathAuto? We have all these aliases of our taxonomy terms set for SEO purposes. Surely it makes sensefor XMLSiteMap to pull the aliases PathAuto has stored?

Anonymous’s picture

The pathauto module is nothing more than a module that hooks the node and taxonomy to create paths using the core Path module hooks. There is nothing special xmlsitemap needs to do just because you're using pathauto. They are autonomous and one does not affect the other.

AgaPe’s picture

Maybe it helps somebody, I had a similar issue and it was caused by domain module i am using. I had to replace the creating path function with one from domain module.

tommycox’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Issue summary: View changes
tommycox’s picture

Title: Sitemap not referencing pathauto aliases » Domain Path module causing sitemap to not reference pathauto aliases
tommycox’s picture

Fixes the XML Sitemap query to select from the domain_path table if the module is enabled, since it takes over aliases.

tommycox’s picture

Status: Active » Needs review
tommycox’s picture

Component: xmlsitemap_taxonomy.module » Code
tommycox’s picture

Status: Needs review » Needs work

The last submitted patch, 11: domain_path_causing_no_aliases-1313250-11.patch, failed testing. View results