Hi!
I use the XmlSiteMap Module with i18n and i defined two sitemaps:
http://beta.bicisprint.com/sitemap.xml (for default language ca)
http://beta.bicisprint.com/es/sitemap.xml (for language es)
When i check the sitemaps, all of them are viewed as ES.
I check the module and the database, and i find this:
- In the database are generated two entries correctly, with two differents smid.
- In the filesystem, i found the two SMID dirs, and inside the are the correct xml sitemaps, one for each language!
That's mean that the xml sitemap are generated correctly, but not served properly, because always detect language=es .....
Any idea???
Regards,
JOINSO.
Comments
Comment #1
joinso commentedMost info....
If i disable i18n xml sitemap module, then the xml sitemap generated contains all the languages links: default language (ca) and ES....
This can be a solution until the i18n works well....
Regards!
Comment #2
kristen polTry out the latest version of the module and apply this patch:
http://drupal.org/node/1370394#comment-5377256
I was able to see sitemaps in 3 languages.
Comment #3
kevinwo commentedAfter applying the patch, I still encounter the same problem. Default language: zh-hant; Second language: en. Both my sitemap.xml and en/sitemap.xml display the same en links.
Comment #4
agence web coheractio commentedHi,
I have a similar to kevinwo on a French and English site. The English and French sitemap have both the same links.
However:
Thanks
Laurent
Comment #5
Anonymous (not verified) commentedI can't help too much since I'm not using more than one language but it seems to me that the correct thing for this is to create a sitemap index file that points to the language specific sitemap files. So using the OP's URL I would think http://beta.bicisprint.com/sitemap.xml should be an index pointing to http://beta.bicisprint.com/ca/sitemap.xml and http://beta.bicisprint.com/es/sitemap.xml.
However, does the patch mentioned in #2 work for you?
Comment #6
heyyo commentedI have the same problem described by laurent (#4) and even with the patch.
My website has 2 languages french(default) and english.
In french i have only aliased url, but some are in double !
And in english, i have all aliased node but also non aliased french nodes in it !
I'm using 7.x-2.0-rc1 with patch mentionned http://drupal.org/node/1370394#comment-5377256
EDIT: i resolved all my bugs by disabling xmlsitemap on each menu. I have no more double nodes, and non aliased nodes in my sitemaps