Skip to content

fix(site): internal links 308-redirect for missing trailing slash - #560

Merged
jamesconwaydev merged 1 commit into
mainfrom
fix/site-trailing-slash-links
Nov 18, 2026
Merged

jamesconwaydev merged 1 commit into
mainfrom
fix/site-trailing-slash-links

Conversation

@jamesconwaydev

Copy link
Copy Markdown
Collaborator

Nav, archive and category links pointed at /archived, /how-it-works and /category/<slug>, so every click and crawl took a 308 hop to the slash form the canonicals and sitemap use. Links now point at the canonical URLs.

Checked: npm --prefix site run build (17 pages, all internal hrefs end in /), prettier, unit tests (623 OK).

Nav, archive and category links pointed at /archived, /how-it-works
and /category/<slug>, so every click and every crawl took a 308 hop
to the canonical slash form. Link the canonical URLs directly.
@jamesconwaydev
jamesconwaydev merged commit 2ab477f into main Nov 18, 2026
9 checks passed
@jamesconwaydev
jamesconwaydev deleted the fix/site-trailing-slash-links branch November 18, 2026 15:15
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