Skip to content

EPMDEDP-17217: fix: canonicalize breadcrumb JSON-LD URLs on versioned docs - #424

Merged
SergK merged 1 commit into
mainfrom
EPMDEDP-17217-breadcrumb-canonical-jsonld
Aug 21, 2026
Merged

EPMDEDP-17217: fix: canonicalize breadcrumb JSON-LD URLs on versioned docs#424
SergK merged 1 commit into
mainfrom
EPMDEDP-17217-breadcrumb-canonical-jsonld

Conversation

@SergK

@SergK SergK commented Aug 21, 2026

Copy link
Copy Markdown
Member
  • The stock Docusaurus breadcrumb structured data emitted each crumb's versioned permalink, so a versioned page advertised /docs/foo as its canonical while its BreadcrumbList pointed at /docs/3.14/foo; conflicting URL signals make Google discard the trail
  • Route crumb URLs through the shared canonical helper so the canonical tag, the TechArticle JSON-LD and the breadcrumb trail all agree on one URL
  • Replace rather than wrap the theme component; a wrapper would have left the stock BreadcrumbList in the head alongside the corrected one
  • Pages dropped from the latest version keep their versioned URLs, so no breadcrumb can point at a 404

… docs

- The stock Docusaurus breadcrumb structured data emitted each crumb's versioned
  permalink, so a versioned page advertised /docs/foo as its canonical while its
  BreadcrumbList pointed at /docs/3.14/foo; conflicting URL signals make Google
  discard the trail
- Route crumb URLs through the shared canonical helper so the canonical tag, the
  TechArticle JSON-LD and the breadcrumb trail all agree on one URL
- Replace rather than wrap the theme component; a wrapper would have left the
  stock BreadcrumbList in the head alongside the corrected one
- Pages dropped from the latest version keep their versioned URLs, so no
  breadcrumb can point at a 404

Signed-off-by: Sergiy Kulanov <sergiy_kulanov@epam.com>
@SergK
SergK requested a review from a team as a code owner August 21, 2026 07:06
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-pebble-0839af61e-424.westus2.4.azurestaticapps.net

@SergK
SergK merged commit 8341d73 into main Aug 21, 2026
6 checks passed
@SergK
SergK deleted the EPMDEDP-17217-breadcrumb-canonical-jsonld branch August 21, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant