Skip to content

fix(compose): stop redirecting every compose page to the overview - #107

Merged
a-essawy merged 1 commit into
mainfrom
fix/compose-catchall-redirect
Sep 25, 2026
Merged

a-essawy merged 1 commit into
mainfrom
fix/compose-catchall-redirect

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

Every compose child page (framing, fonts, output, the whole reference group, 24 pages) returns a 308 to /jobs/compose on the live site.

Cause: docs.json has a catch-all redirect /jobs/compose/:slug* → /jobs/compose, added in #25 (2026-06-22) when compose was a single page. After the split into child pages it matches all of them. This PR removes that one rule.

Checked every other wildcard redirect against the pages on disk: none shadows a real page. mint validate passes (Node 22).

After merge: curl -sI https://rendobar.com/docs/jobs/compose/framing should be 200, not 308.

A catch-all redirect from /jobs/compose/:slug* to /jobs/compose was added when compose was a single page. Since the split into child pages it matched all 24 of them, so every compose page 308ed back to the overview. No other wildcard redirect shadows a real page.
@a-essawy
a-essawy merged commit 438a662 into main Sep 25, 2026
2 checks passed
@a-essawy
a-essawy deleted the fix/compose-catchall-redirect branch September 25, 2026 13:42
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