Skip to content

Fix Repo Unpack canonical URLs and legacy 404s - #342

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
fix/ahrefs-unpack-canonicals
Sep 25, 2026
Merged

sarthakagrawal927 merged 1 commit into
mainfrom
fix/ahrefs-unpack-canonicals

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Change

Use the generated hyphenated Repo Unpack section route as the canonical URL. Redirect old underscored URLs to an existing hyphenated page so previously reported 404s resolve.

Verification

  • pnpm --dir apps/landing-page-astro build
  • Compared all 774 generated unpack canonicals with the sitemap: 774/774 matched.
  • Exercised Worker requests for an old URL (301), unknown old URL (404), and canonical URL (200).
  • pnpm exec biome check apps/landing-page-astro/worker.mjs
  • pnpm exec wrangler deploy --dry-run --config wrangler.worker.jsonc

Fixes #341.

@sarthakagrawal927
sarthakagrawal927 merged commit 01bb19b into main Sep 25, 2026
21 of 22 checks passed
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.

Fix Repo Unpack canonicals and legacy section 404s

1 participant