Skip to content

fix: end internal links in a slash so crawlers skip the 307 - #10

Merged
rvanbaalen merged 1 commit into
mainfrom
fix/trailing-slash-links
Sep 28, 2026
Merged

rvanbaalen merged 1 commit into
mainfrom
fix/trailing-slash-links

Conversation

@rvanbaalen

Copy link
Copy Markdown
Contributor

Ahrefs flagged every page ("Page has links to redirect", 54 links): nav, footer, 404 and in-copy links pointed at /help, /guides, /about, /alternatives, /privacy and /terms, which Cloudflare's auto-trailing-slash answers with a 307 to the slashed path.

  • Every internal link now ends in /.
  • test/page.test.ts scans every built page and fails on an internal link that would redirect. Verified it fails without the fix.
  • New CLAUDE.md records the rule.

@rvanbaalen
rvanbaalen merged commit fdcd5db into main Sep 28, 2026
1 check passed
@rvanbaalen
rvanbaalen deleted the fix/trailing-slash-links branch September 28, 2026 15:40
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