-
Notifications
You must be signed in to change notification settings - Fork 33
Personalised, known3xx.astro
page
#1170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think a potential issue is that this change may be breaking. Eg. what if a user already has a page named this? Or want to use it not for redirects? It's not the same with |
It was the same for |
I think it's a bit different here because it ends up in the url eg |
Yes, and while the feature is under experimental, it's not a problem. If you're really concerned about having many bug reports, we can enable this feature via configuration. I am not concerned. |
Not really the same, because |
But I agree – I don't think this requires a major |
I feel like it should be named redirects or at least use the statuscode |
Summary
Allow to have a known file called
3xx.astro
that allows to return a personalised version of a redirect pageBackground & Motivation
Since we introduced i18n routing, there have been cases where this new features uses the redirect engine used by Astro.
This showed some shortcomings in features:
Goals
404.astro
, to have a3xx.astro
file that will serve any 3 hundred status codeThe text was updated successfully, but these errors were encountered: