我有一个支持两种语言的网站:www.example.it
example.it/it => Italian language
example.it/en => English language
我该如何为两个版本设置正确的站点地图?
我有一个支持两种语言的网站:www.example.it
example.it/it => Italian language
example.it/en => English language
谷歌已经在这里给出了明确的答复:
http://googlewebmastercentral.blogspot.co.uk/2012/05/multilingual-and-multinational-site.html
例如:
<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>
为了能够对其他语言类型进行分类,您需要了解语言或国家代码。
http://webdesign.about.com/od/localization/l/bllanguagecodes.htm