Chonker, fixing links in docs/site missing a trailing slash, that 304…#1174
Merged
Conversation
… to netlify pretty links Signed-off-by: Liam Randall <liam@cosmonic.com>
✅ Deploy Preview for dreamy-golick-5f201e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
LiamRandall
commented
May 30, 2026
Member
Author
LiamRandall
left a comment
There was a problem hiding this comment.
Manually reviewed all 337 changes and tested a few different patterns to make sure they still worked.
LGTM.
ericgregory
approved these changes
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lots of pages impacted here; the essential problem is that Netlify adds the trailing
/to pretty print the URLs; much of our legacy content did not include the trailing slash, meaning that pages immediately 304 to the correct urlWhat's changed here
Ahrefs's Reported 186: Why so many more?
Ahrefs reported ~107 pages / ~186 redirect links — but that's roughly what an SEO crawler sees from the indexed surface. The bulk of mine was in versioned_docs/ (664) — the archived v1 and 0.82 docs
that are noindex'd / largely uncrawled by Ahrefs but still serve users who land on them. Breakdown of links fixed:
┌─────────────────────────────┬─────────────┐
│ Top-level dir │ links fixed │
├─────────────────────────────┼─────────────┤
│ versioned_docs/ (v1 + 0.82) │ 664 │
├─────────────────────────────┼─────────────┤
│ blog/ │ 191 │
├─────────────────────────────┼─────────────┤
│ community/ │ 162 │
├─────────────────────────────┼─────────────┤
│ docs/ (v2) │ 10 │
├─────────────────────────────┼─────────────┤
│ src/ │ 6 │
└─────────────────────────────┴─────────────┘
Scope safety