【问题标题】:Google does not index breadcrumb navigation谷歌不索引面包屑导航
【发布时间】:2016-01-24 19:35:11
【问题描述】:

我想寻求帮助。 5 个月前,我在我的网站上添加了这段代码:

<script type="application/ld+json">
    {
    "@context": "http://myweb.com",
    "@type": "BreadcrumbList",
    "itemListElement":
    [
    {
    "@type": "ListItem",
    "position": 1,
    "item":
    {
    "@id": "http://myweb.com",
    "name": "Myweb"
    }
    }
                ,{
        "@type": "ListItem",
        "position": 2,
        "item":
        {
        "@id": "http://myweb.com/adverts/cars",
        "name": "Cars"
        }
        }
                    ]
    }
</script>

但 Google 仍然没有在我的网络上按结果显示面包屑导航。我哪里错了? 谢谢大家。

【问题讨论】:

    标签: search indexing seo breadcrumbs


    【解决方案1】:

    将@context 上的URL 更改为http://schema.org,使其如下所示

    <script type="application/ld+json">
    {
    "@context": "http://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement":
    [
    {
    "@type": "ListItem",
    "position": 1,
    "item":
    {
    "@id": "http://myweb.com",
    "name": "Myweb"
    }
    }
                ,{
        "@type": "ListItem",
        "position": 2,
        "item":
        {
        "@id": "http://myweb.com/adverts/cars",
        "name": "Cars"
        }
        }
                    ]
    }
    

    然后使用谷歌的工具https://developers.google.com/structured-data/testing-tool/进行验证

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多