You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ensures i81n custom routes are resolving correctly, it also corrects redirects for default locales when `locale: false` is not used, and this also simplifies the resolving for custom routes with i18n in `next-server` adding types for the i18n config. This also adds additional tests to prevent regression and starts leveraging a shared `NextConfig` type to allow us to share types for config values.
Fixes: #19521Fixes: #19403Fixes: #19302Fixes: #19227
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Redirects i18n feature with setting
locale: false
not working as expected.To Reproduce
Expected behavior
I expect that any request of
/fussballtraining/fussballuebung-torschuss
will be redirect to/de/fussballtraining/fussballuebung-torschuss
.Current behaviour
The redirect is falsely redirecting to:
/en/de/fussballtraining/fussballuebung-torschuss
which results to a 500 / 404 error.System information
Background
There are pages in the Google index without the locale identifier. I want all this pages redirected to the
/{locale}/
counterpart.The text was updated successfully, but these errors were encountered: