XSD For Sitemap with HREFLANG

后端 未结 3 720
南方客
南方客 2021-01-18 17:31

We are launching a major website with support for 20 languages and tons of regional content (i.e. content that is targeted to a specific country or set of countries). As suc

3条回答
  •  渐次进展
    2021-01-18 18:06

    If you change the namespace to xmlns:xhtml="http://www.w3.org/TR/xhtml11/xhtml11_schema.html" which was suggested by @datahell you will receive a namespace warning from google when trying to validate your sitemap.

    You should use the one that google has in their example. This will cause your links to look like straight text on a webpage which is not very appealing.

    You may or may not want to style your xml.

    Happy Multilingual Sitemapping!

提交回复
热议问题