-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Selectively disable redirects to prefixless for default locale routes with prefix_and_default strategy #1401
Comments
That seems very useful |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This feature is still relevant.... |
nice!! |
I'm looking for this feature as well! |
we need this! thanks |
Closing this as v7 is not being actively worked on (critical hotfixes only), if this still applies to v8 and later please open a new issue! |
Problem
We are using the
prefix_and_default
strategy with a default locale set toen-us
.If we visit a route with the default locale as the prefix, e.g.
/en-us/about-us
, we are redirected to the prefixless route,/about-us
. This is acceptable for most of our pages.In a handful of cases, we don't want to redirect - we want to specifically use the
/en-us
prefix.Desired Solution
There might be two ways we could configure this.
The text was updated successfully, but these errors were encountered: