Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#11 | domain_path_causing_no_aliases-1313250-11.patch | 1.26 KB | tommycox |
Comments
Comment #1
jasonabc CreditAttribution: jasonabc commentedanyone??
Comment #2
jasonabc CreditAttribution: jasonabc commentedWow - I guess not :-(
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedDoes Global Redirect help?
Comment #4
jasonabc CreditAttribution: jasonabc commentedHey - 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.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedXmlsitemap 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.
Comment #6
jasonabc CreditAttribution: jasonabc commentedOk - 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?
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedThe 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.
Comment #8
AgaPe CreditAttribution: AgaPe commentedMaybe 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.
Comment #9
tommycox CreditAttribution: tommycox as a volunteer commentedComment #10
tommycox CreditAttribution: tommycox as a volunteer commentedComment #11
tommycox CreditAttribution: tommycox as a volunteer commentedFixes the XML Sitemap query to select from the domain_path table if the module is enabled, since it takes over aliases.
Comment #12
tommycox CreditAttribution: tommycox as a volunteer commentedComment #13
tommycox CreditAttribution: tommycox as a volunteer commentedComment #14
tommycox CreditAttribution: tommycox as a volunteer and at Chronos Interactive Media commented