Localization 针对不同TLD在sitemap中实现hreflang
我正在使用sitemap.xml中的hreflang实现针对不同国家/地区用户的多语言网页。我读过谷歌教程,但它并没有解决我的问题。我们的网页对每种语言都有不同的TLD 假设我们有两个TLD:Localization 针对不同TLD在sitemap中实现hreflang,localization,internationalization,seo,sitemap,google-webmaster-tools,Localization,Internationalization,Seo,Sitemap,Google Webmaster Tools,我正在使用sitemap.xml中的hreflang实现针对不同国家/地区用户的多语言网页。我读过谷歌教程,但它并没有解决我的问题。我们的网页对每种语言都有不同的TLD 假设我们有两个TLD:www.example.cz用于捷克用户,www.example.de用于德国用户 在我的捷克突变网站地图xml(www.example.cz/sitemap.xml)中,我有: 可以吗?谷歌网站管理员工具抱怨说没有“返回标签”。我应该添加http://www.example.de到我的www.exampl
www.example.cz
用于捷克用户,www.example.de
用于德国用户
在我的捷克突变网站地图xml(www.example.cz/sitemap.xml
)中,我有:
可以吗?谷歌网站管理员工具抱怨说没有“返回标签”。我应该添加
http://www.example.de
到我的www.example.cz/sitemap.xml
?我认为这是错误的,因为www.example.de
有自己的sitemap.xml,其中定义了关于URL的内容。在几周没有更改站点地图配置的情况下,Google网站管理员工具减少了称为“无返回标签”的错误数量。可能爬虫网站上有问题。无论如何,从你那里获得任何其他经验都会很好…我和你的情况一样,但我将hreflang标记直接放在标记内的每个页面上,并且为每个TLD创建一个“经典”网站地图(不参考hreflang)。这似乎也行得通。
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://www.example.cz</loc>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://www.example.de"
/>
<xhtml:link
rel="alternate"
hreflang="cs"
href="http://www.example.cz"
/>
</url>
<url>
...other www.example.cz/* url and so on...
</url>
</urlset>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://www.example.de</loc>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://www.example.de"
/>
<xhtml:link
rel="alternate"
hreflang="cs"
href="http://www.example.cz"
/>
</url>
<url>
...other www.example.de/* url and so on...
</url>
</urlset>