Add BreadcrumbList to nested pages
Matters once you have hundreds of programmatic pages. Add it before you do.
Step 1.3.2.4
Time: 30m
If this is a change to your product
- What must become true
- Nested pages emit BreadcrumbList JSON-LD whose itemListElement has at least two ListItems, each with a position and a name, matching the visible trail.
- Where it usually lives
- Wherever the visible breadcrumb is rendered. Emit both from ONE component so the markup and the JSON-LD cannot drift apart — two sources for one trail is how they end up disagreeing.
- The trap
- Your own verification is the trap here, not the markup. A checker that fetches the first URL in sitemap.xml finds only CHILD SITEMAPS when that file is an index, so it reads nothing and reports nothing — and a site large enough for this step is exactly the site with an index. Follow the index one level before looking for a nested page.