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 a multilingual website and Ienabled sitemaps for English (www.mywebsite.com) and Danish (da.mywebsite.com).
www.mywebsite.com works, returning the english sitemap
da.mywebsite.com returns Drupal 404 "Page not found"
Both sitemaps are present and have the correct content in the sites/default/files/xmlsitemap/[hash]/1.xml
In the log-warning for the "Page not found" says:
http://www.cravegig.com/sitemap.xml
even though i'm trying to access:
http://da.cravegig.com/sitemap.xml
What can be causing this? How can it be solved?
thx, / Jonas
Comments
Comment #1
jasom CreditAttribution: jasom commentedI have similar issue:
In my web, I'm using domain (url) language negotiation: site.cz for czech and site.com for english (default).
After advice of #3 in i18n negociation per domain name site.cz/sitemap.xml works OK but main domain sitemap site.com/sitemap.xml returns "Page not found".
Is status report, all messages are green:
XML sitemap - Last attempted generation on Thu, 04/04/2013 - 11:46 (2 hours 12 min ago).
XML sitemap cache directory - Writable
On site.com/admin/config/search/xmlsitemap these's a table:
Why I cannot access site.com/sitemap.xml?
Update: I tried disable clean urls (site.com/?q=sitemap.xml) but it didn't help.
Comment #2
jasom CreditAttribution: jasom commentedfixed by #14 in #1104746: sitemap.xml not found (Error 404)