Seo 为什么赢了';我的网站地图在跟随Google之后是否有效;对hreflang元素有何建议?

Seo 为什么赢了';我的网站地图在跟随Google之后是否有效;对hreflang元素有何建议?,seo,xml-sitemap,Seo,Xml Sitemap,在向我所关注的网站添加多语言支持后,我加入了到其他语言版本的hreflang链接 但是,在执行此操作后,我发现各种在线验证器(如)返回的验证错误如下: 元素“{}链接”:没有匹配的全局 元素声明可用,但严格的通配符要求 下面是我的网站地图经过消毒的摘录。我保留了实际的格式(由于框架的呈现方式,没有整齐地缩进),以防出现以下情况: <?xml version="1.0" encoding="UTF-8" ?> <urlset xmlns="http://www.sitemaps.

在向我所关注的网站添加多语言支持后,我加入了到其他语言版本的hreflang链接

但是,在执行此操作后,我发现各种在线验证器(如)返回的验证错误如下:

元素“{}链接”:没有匹配的全局 元素声明可用,但严格的通配符要求

下面是我的网站地图经过消毒的摘录。我保留了实际的格式(由于框架的呈现方式,没有整齐地缩进),以防出现以下情况:

<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
    http://www.w3.org/1999/xhtml
    http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd"><url>
        <loc>http://dev.domain.com/template/en-GB/</loc>
        <lastmod>2017-02-17</lastmod>


        <xhtml:link rel="alternate" hreflang="en-GB" href="http://dev.domain.com/template/en-gb/" /><xhtml:link rel="alternate" hreflang="de" href="http://dev.domain.com/template/de-de/" /><xhtml:link rel="alternate" hreflang="en-PH" href="http://dev.domain.com/template/en-gb/" /><xhtml:link rel="alternate" hreflang="cs-CZ" href="http://dev.domain.com/cz/cs-cz/about-domain/thing" /><xhtml:link rel="alternate" hreflang="af-ZA" href="http://dev.domain.com/cz/cs-cz/about-domain/thing" /><xhtml:link rel="alternate" hreflang="ar-QA" href="http://dev.domain.com/cz/cs-cz/about-domain/thing" /><xhtml:link rel="alternate" hreflang="de-DE" href="http://dev.domain.com/de/de-de/applications" /><xhtml:link rel="alternate" hreflang="x-default" href="http://dev.domain.com/template/en-gb/" />
    </url><url>
        <loc>http://dev.domain.com/template/en-gb/about-domain-en</loc>
        <lastmod>2017-02-28</lastmod>


        <xhtml:link rel="alternate" hreflang="en" href="http://dev.domain.com/template/en-gb/about-domain-en" /><xhtml:link rel="alternate" hreflang="de-DE" href="http://dev.domain.com/template/de-de/uber-domain" /><xhtml:link rel="alternate" hreflang="en-PH" href="http://dev.domain.com/template/en-gb/about-domain-en" />
    </url><url>
        <loc>http://dev.domain.com/template/en-gb/about-domain/thing-en</loc>
        <lastmod>2016-10-20</lastmod>


        <xhtml:link rel="alternate" hreflang="en-GB" href="http://dev.domain.com/template/en-gb/about-domain/thing-en" /><xhtml:link rel="alternate" hreflang="de-DE" href="http://dev.domain.com/template/de-de/uber-domain/thing" /><xhtml:link rel="alternate" hreflang="en-PH" href="http://dev.domain.com/template/en-gb/about-domain/thing-en" />
    </url></urlset>

http://dev.domain.com/template/en-GB/
2017-02-17
http://dev.domain.com/template/en-gb/about-domain-en
2017-02-28
http://dev.domain.com/template/en-gb/about-domain/thing-en
2016-10-20

我看不出XML有任何问题,它看起来完全遵循谷歌的建议。我是否可以安全地将其部署到生产环境中,或者在我解决问题之前,谷歌是否会惩罚我?

Sitemap只会帮助谷歌了解如何抓取你的页面,在任何情况下都会惩罚我。在这种情况下,你没有正确设置它不会减少你的网站在SERP中的当前位置,但它可以使谷歌不知道的一些URL不被索引,只要它们没有从任何地方链接

不同的是,你的URL内容不符合谷歌最佳实践,然后你会受到惩罚