0

根据Google 支持,我有一个配置相同的站点,但仅适用于西班牙语和英语:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

    <url>
        <loc>http://example.com/en/</loc>
        <xhtml:link
                rel="alternate"
                hreflang="es"
                href="http://example.com/es/"
                />
        <xhtml:link
                rel="alternate"
                hreflang="en"
                href="http://example.com/en/"
                />
        <changefreq>daily</changefreq>
        <lastmod>2015-07-19</lastmod>
        <priority>1</priority>
    </url>

    <url>
        <loc>http://example.com/es/</loc>
        <xhtml:link
                rel="alternate"
                hreflang="en"
                href="http://example.com/en/"
                />
        <xhtml:link
                rel="alternate"
                hreflang="es"
                href="http://example.com/es/"
                />
        <changefreq>daily</changefreq>
        <lastmod>2015-07-19</lastmod>
        <priority>1</priority>
    </url>

    <url>
        <loc>http://example.com/en/blog</loc>
        <xhtml:link
                rel="alternate"
                hreflang="es"
                href="http://example.com/es/blog"
                />
        <xhtml:link
                rel="alternate"
                hreflang="en"
                href="http://example.com/en/"
                />
        <changefreq>daily</changefreq>
        <lastmod>2015-07-19</lastmod>
        <priority>0.8</priority>
    </url>

    <url>
        <loc>http://example.com/es/blog</loc>
        <xhtml:link
                rel="alternate"
                hreflang="en"
                href="http://example.com/en/blog"
                />
        <xhtml:link
                rel="alternate"
                hreflang="es"
                href="http://example.com/es/blog"
                />
        <changefreq>daily</changefreq>
        <lastmod>2015-07-19</lastmod>
        <priority>0.8</priority>
    </url>

</urlset>

我的问题是当我使用西班牙语浏览器搜索我的网站时,因为我的网站出现了,但网站的描述是英文的。我认为我的站点地图缺少一些东西。任何人都知道为什么谷歌不考虑西班牙语版本?

4

1 回答 1

0

Google Search Console(以前的网站管理员工具)中有一个名为 International Targeting 的功能,我们 (Google) 在其中报告 Hreflang 相关问题。

此外,在站点地图功能中,您可以查看我们为您的站点地图检测到的错误(如果有)。

通常,当父页面和目标页面都被抓取和索引时,hreflang 注释会被拾取。在某些情况下,这可能需要一些时间,但您可以使用 Fetch as Google、Submit to Index 功能加快速度。

于 2015-07-23T19:19:09.983 回答