Repository navigation
Custom 3xx redirect page - #1444
Open
florian-lefebvre wants to merge 3 commits into
Open
florian-lefebvre wants to merge 3 commits into
florian-lefebvre wants to merge 3 commits into
Conversation
This was referenced Sep 25, 2026
Contributor
|
I assume this feature is static-only? Applying 404 to SSR was a very buggy experience, I'm not sure we ever got it totally resolved, and would prefer not to repeat that. |
Member
Author
|
Yes it is static only. SSR just uses the |
Contributor
|
@florian-lefebvre can you add SSR as a non-goal in that case? |
Contributor
|
Oh wait I guess you kind of already do, never mind. |
florian-lefebvre
marked this pull request as ready for review
September 28, 2026 09:57
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
|
What has the feedback been on the experimental release? |
Member
Author
|
I have not received any apart from the conversation here, which was not about the feature per say |
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.
Summary
Add a Stage 3 RFC for customizing prerendered redirect pages with
src/pages/3xx.astro. The RFC describes the experimental opt-in flag, the redirect props, the built-in fallback, and the exportedRedirectPagePropstype for TypeScript users.Example page usage:
Links