Skip to content

fix(seo): align minerals JSON-LD canonical + bump knowledge to v1.4.1#43

Merged
Bissbert merged 1 commit into
mainfrom
fix/minerals-canonical-trailing-slash
May 18, 2026
Merged

fix(seo): align minerals JSON-LD canonical + bump knowledge to v1.4.1#43
Bissbert merged 1 commit into
mainfrom
fix/minerals-canonical-trailing-slash

Conversation

@Bissbert
Copy link
Copy Markdown
Contributor

Summary

  • MineralSchema.astro: add trailing slash to Thing.url template literal (line 14) and the Gallery breadcrumb item (line 83) so JSON-LD canonical declarations match the page's <link rel="canonical">. Without this, Google resolved the mismatch by choosing its own canonical, causing "Duplicate, Google chose different canonical than user" exclusions in GSC (first confirmed on /minerals/opal-doublet-cabochon/ and /minerals/synthetic-ruby-verneuil-boule/, silently affecting all other mineral pages).
  • src/lib/knowledge-version.ts: bump KNOWLEDGE_VERSION from v1.4.0 to v1.4.1 to pull the upstream knowledge base fix correcting a broken /tools/calculator link to /tools/measurement.

Test plan

  • Build passes (916 pages, no errors)
  • JSON-LD for /minerals/opal-doublet-cabochon/ now emits trailing-slash Thing.url and breadcrumb item
  • Deploy and re-inspect affected GSC URLs after next crawl

… bump knowledge to v1.4.1

MineralSchema.astro was emitting Thing.url and the Gallery breadcrumb
item without a trailing slash, while the page's <link rel="canonical">
already included one. Google resolved the mismatch by choosing its own
canonical, causing "Duplicate, Google chose different canonical than
user" exclusions in GSC for every mineral page (first surfaced on
/minerals/opal-doublet-cabochon/ and
/minerals/synthetic-ruby-verneuil-boule/).

Both template literals in MineralSchema.astro now include the trailing
slash so JSON-LD and the HTML canonical agree.

Also bumps KNOWLEDGE_VERSION to v1.4.1, pulling the upstream fix that
corrects a broken /tools/calculator link to /tools/measurement in the
knowledge base content.
@Bissbert Bissbert merged commit f40c5d9 into main May 18, 2026
3 of 4 checks passed
@Bissbert Bissbert deleted the fix/minerals-canonical-trailing-slash branch May 18, 2026 09:39
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