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

jasom’s picture

I 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:

URL Language Last updated Links Pages Operations
site.cz/sitemap.xml Czech 04/04/2013 - 13:42 719 1
site.com/sitemap.xml Default 04/04/2013 - 13:42 1091 1

Why I cannot access site.com/sitemap.xml?

Update: I tried disable clean urls (site.com/?q=sitemap.xml) but it didn't help.

jasom’s picture