Skip to content

fix(seo/P0): canonical and self-healing post sitemaps - #96

Merged
EagleFox31 merged 2 commits into
mainfrom
fix/p0-sitemap-freshness-20261011
Oct 11, 2026
Merged

EagleFox31 merged 2 commits into
mainfrom
fix/p0-sitemap-freshness-20261011

Conversation

@EagleFox31

Copy link
Copy Markdown
Owner

P0 — sitemap correctness and resilience

  • Derive every article URL from the canonical insight.trigenys.com identity, never from a Vercel deployment environment variable.
  • Advertise only localized posts with the same required fields as the public article routes (title, excerpt, content).
  • Bound the unstable_cache lifetime to one hour, retaining tag invalidation after editorial publishing while recovering from bulk imports that bypass hooks.
  • Revalidate FR/EN public article URLs, archives and homepages on publish, edit, slug change, unpublish and deletion (rather than only legacy /posts).
  • Add unit tests for canonical URLs, missing translations and required fields.

Validation gates before merge

  • GitHub CI: lint, typecheck and tests green
  • Staging: published bilingual article appears in posts-sitemap.xml
  • Staging: incomplete EN translation is omitted from sitemap
  • Staging: edit, rename and unpublish invalidates expected URLs
  • After deployment: check sitemap on production and compare to GSC

Boundaries

Does not edit news-sitemap.xml or claim GSC #90 is fixed, does not modify Cloudflare pilot PR #54. This PR is intentionally draft until CI and staging verification.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trigenys-insight Ready Ready Preview Oct 11, 2026 10:33pm UTC

@EagleFox31
EagleFox31 marked this pull request as ready for review October 11, 2026 22:36
@EagleFox31
EagleFox31 merged commit 5ad0464 into main Oct 11, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 6b2ded1c Deployed Oct 11, 2026 by vercel[bot]
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