Skip to content

support oldids+multipage - #737

Merged
bakkot merged 1 commit into
mainfrom
multipage-redirect
Nov 10, 2026
Merged

bakkot merged 1 commit into
mainfrom
multipage-redirect

Conversation

@bakkot

@bakkot bakkot commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Fixes #736.

I had Claude do this. It handles #fragments by doing the redirect in JS if possible, using the section mapping from the multipage script to jump straight to the correct page of possible and otherwise just redirecting to the new id plus whatever the fragment is and letting it handle further redirects if necessary, with a meta tag for noscript fallback.

@gibson042 gibson042 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me.

@bakkot
bakkot merged commit 43b0e39 into main Nov 10, 2026
2 checks passed
@bakkot
bakkot deleted the multipage-redirect branch November 10, 2026 23: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.

Generate redirects in multipage builds for toplevel emu-clause with oldids

2 participants