gpt4 book ai didi

seo - Google Rich Snippets 每页的“事物”

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:49:06 29 4
gpt4 key购买 nike

我们的主页有我们组织的 JSON-LD。我们的产品页面也应该有那 block 代码吗?

如果 Google 抓取我们的产品页面之一并找到 @type: Organization@type: Product , 它会在确定该特定页面的性质时遇到困难吗?

最佳答案

假设您想传达您的 OrganizationmanufacturerProduct :

Product 节点内,您可以提供完整的 Organization 节点作为值,或者您可以提供 Organization 的 URI作为值,在 Organization 节点 ( see an example ) 中用 @id 指定。

引用标识符的优点是您不必重复自己,但缺点是消费者可能需要做更多的工作(他们可能不支持)。

Google 没有在他们的 Rich Snippets documentation 中明确提及如果他们遵循 URI 并考虑引用的节点,而根据他们的示例和他们的 SDTT 似乎支持嵌入节点.

If Google crawls one of our product pages and finds @type: Organization and @type: Product, will it have trouble determining the nature of that particular page?

谷歌甚至 recommends标记(或者在 JSON-LD 的情况下,为页面上的所有实体提供数据)。

另请注意,Schema.org 提供了一个属性,允许指示哪个实体是主要实体(例如,产品页面上的 Product,主页上的 Organization) : mainEntity/mainEntityOfPage (请参阅我的 answer with more details)。

关于seo - Google Rich Snippets 每页的“事物”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35582854/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com