【问题标题】:Will it be harmful if there are two almost same richsnippets on 2 different pages如果两个不同的页面上有两个几乎相同的richsnippets会不会有害
【发布时间】:2015-08-07 14:22:45
【问题描述】:

如果我将两个几乎相同的丰富 sn-ps 放在两个不同的页面上会不会有害?

例如,我有组织预览和联系页面。

预览页面上的richsn-p是:

{
    "@context":  "http://schema.org",
    "@type":     "Organization",
    "legalName": "test name",
    "url":       "some url",
    "email":     "some email",
    "address":  {
        "@type":           "PostalAddress",
        "addressLocality": "City, Country",
        "postalCode":      "16000",
        "streetAddress":   "Test street address"
    }
}

联系页面上的richsn-p是:

{
    "@context":  "http://schema.org",
    "@type":     "Organization",
    "legalName": "test name",
    "url":       "some url",
    "address":  {
        "@type":           "PostalAddress",
        "addressLocality": "City, Country",
        "postalCode":      "16000",
        "streetAddress":   "Test street address"
    },
    "contactPoint": [
        {
            "@type":     "ContactPoint",
            "telephone": "123123",
            "faxNumber": "123123",
            "email":     "some email",
            "contactType": "customer service"
        }
    ]
}

【问题讨论】:

    标签: seo schema.org json-ld


    【解决方案1】:

    没有理由认为这会有问题。

    您应该为当前文档的内容提供数据,如果两页陈述了同一件事,但一页有,例如,它的电话号码,而另一页没有,那么这正是您的获取:同一实体的两种不同表示。

    因为您使用的是url 属性,所以消费者可以推断出这些项目大致相同。 (即使我在一个完全不同的站点上,也可以通过使用相同的url 值来提供关于您的 实体的其他属性。)

    【讨论】:

      【解决方案2】:

      您可以为所描述的组织提供一个 URI,因为这两个 sn-ps 都差不多。

      在这种情况下,您可以使用 JSON-LD:@id

      【讨论】:

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