首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >BreadcrumblList JSON我应该在所有类别的页面中包括第一个主页吗?

BreadcrumblList JSON我应该在所有类别的页面中包括第一个主页吗?
EN

Webmasters Stack Exchange用户
提问于 2021-02-17 06:41:07
回答 1查看 141关注 0票数 1

我正在寻找一个完美的网站BreadcrumblList JSON-LD电子商务

我看了谷歌的这篇文章,https://developers.google.com/search/docs/data-types/breadcrumb很困惑

原因在于,在现实世界中,人们被包括在主页以及Breadcrumb中。

代码语言:javascript
复制
Home > Category1 > Category2 > Product3
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
  "itemListElement": [{
    "@type": "ListItem",
    "position": 1,
    "name": "Category1",
    "item": "https://example.com/Category1"
  },{
    "@type": "ListItem",
    "position": 2,
    "name": "Category 2",
    "item": "https://example.com/books/Category2"
  },{
    "@type": "ListItem",
    "position": 3,
    "name": "Product Page 3",
    "item": "https://example.com/books/authors/Product3"
  }]
}
</script>
EN

回答 1

Webmasters Stack Exchange用户

回答已采纳

发布于 2021-02-18 02:48:03

我个人不会添加它,也不会将面包屑添加到页面中,除非在主页之外还有更高的级别。

有时Google很聪明,可以忽略主页条目,但有时却不是,我不认为它在片段中看起来很好:

domain.com > Home > Category1

我觉得没有它会更整洁:

domain.com > Category1

文档示例确实暗示主页不包括在内,但没有具体说明。我已经发了一些反馈。

票数 0
EN
页面原文内容由Webmasters Stack Exchange提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://webmasters.stackexchange.com/questions/133346

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档