面包屑导航结构化数据
简明回答
BreadcrumbList 表示网页在网站层级中的位置,至少要有两个 ListItem,每项需要 position 和 name,除最后一项外还需要 item。Google 建议标记用户的典型浏览路径,而不是照搬网址结构。面包屑只在桌面端搜索结果中显示。
{ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Books", "item": "https://example.com/books" }, { "@type": "ListItem", "position": 2, "name": "Science Fiction", "item": "https://example.com/books/sciencefiction" }, { "@type": "ListItem", "position": 3, "name": "Award Winners" } ]}应该标记哪条路径
Section titled “应该标记哪条路径”一个网页如果能通过多条路径到达,可以标记多条面包屑路径。Google 文档中给出了包含两条路径的示例。
面包屑不能做什么
Section titled “面包屑不能做什么”- 它不是 AI 搜索的必要条件:Google 表示,其 AI 功能不需要任何特殊标记(见 结构化数据与 AI 搜索)。
- 与其他类型一样,违反 Google 结构化数据指南的标记可能招致人工处置。
本站每个可索引的条目都带有 BreadcrumbList。路径从首页经过专题页到条目本身,与侧边栏的分组一致。