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
wadehammes
changed the title
[i18n + redirects] default locale not stripped from destination url
[i18n + redirects] defaultLocale not stripped from destination url
Dec 11, 2020
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
When creating a redirect:
The redirect happens fine, however the destination URL in the browser is
/en/about/our-story
which is not great since this will break SEO.Adding
locale: false
makes the redirect not happen at all.To further add, logging out
router
on this page actually showsasPath
as/about/our-story
even though the path clearly hasen
in it.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
defaultLocale
should not be present in the url, as with all other non-redirected links.System information
The text was updated successfully, but these errors were encountered: