Question

I have www.mysite.it that support 2 language:

mysite.it/it => italian language
mysite.it/en => english language

How can I set up the correct sitemap for the 2 version? Thanks

Was it helpful?

Solution

Google have specifically answered this here:

http://googlewebmastercentral.blogspot.co.uk/2012/05/multilingual-and-multinational-site.html

For example:

<url>
  <loc>http://mysite.it/it</loc>
  <xhtml:link rel="alternate" hreflang="en" href="http://mysite.it/en" />
  <xhtml:link rel="alternate" hreflang="it" href="http://mysite.it/it" />
</url>

You will need to know the language or country code in order to be able to categorize other language types

http://webdesign.about.com/od/localization/l/bllanguagecodes.htm

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top