homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

languages and sitemaps
where to put language specific urls in sitemaps
Simon Giddings

 3:14 pm on Feb 22, 2012 (gmt 0)

My site is in French and English (main content is French).
Today, I use a sitemap index to point to 24 separate sitemaps.

All the URLs in the sitemaps are language specific - French.
I now need to put the English versions ... somewhere.

Does it matter where?
Should I be creating separate language specific sitemaps or can I "safely" put French and English URLs into the same sitemap ?

I haven't seen it, but are there specific language nodes which will need to be declared to correctly identify the language of each page ?

Hope someone can help with this.



 4:50 am on Feb 23, 2012 (gmt 0)

there is no sitemap.xml markup to specify the language of the urls submitted or contents thereof.
that would be specified within the document itself and/or the HTTP Response headers.

note that the urls in the sitemap must be within the scope of the sitemap's location. (scheme, hostname, port and directory)
to submit sitemaps for another host you need to Cross Submit Sitemaps:

i mention this because i assume your english language urls are in a separate subdomain or subdirectory.


 8:03 am on Feb 23, 2012 (gmt 0)

Are you asking about sitemaps for humans or sitemaps for search engines?

Search engines don't give a ### what language your page is in. If it exists, they want to index it.* Language is just one more detail. What is important is to make sure each individual page carries the appropriate language information. That's the only way a search engine can get it right when people ask for "only pages written in language nnn". Unlike a human, a search engine can't just look with its eyeballs and see that this page is in French.

If the pages are linked from anywhere, the search engine will find them. The sitemap is just insurance.

* Except Yandex, which-- unlike g###-- is honest about which languages it doesn't know.

Simon Giddings

 8:32 am on Feb 23, 2012 (gmt 0)

Thank you phranque and lucy24 for your comments.

Yes, you are right phranque, I am indeed carrying my english version in a subdomain eg :

From what you have said, would I be right in understanding that I would need a separately submitted sitemap dedicated to this subdomain ?


Global Options:
 top home search open messages active posts  

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved