Replies: 2 comments 3 replies
-
Yep, the redirects in Alternatively, you could also implement the redirects via |
Beta Was this translation helpful? Give feedback.
-
I realize I didn't mention this earlier but I am using
This would work great if your app only has a handlful of redirects. Unfortunately Vercel has a maximum redirect limit so if you have a lot of redirects set (like I do) this will not work. You will have to find some other solution such as managing-redirects-at-scale-advanced If there are any other suggestions out there, please reply! The linked doc above does not seem to work well if you are using regex patterns. |
Beta Was this translation helpful? Give feedback.
-
The redirects set in my next.config.js are not working if I visit the source url with the locale in the url.
Example:
Expected behavior: Visit
mysite.com/es/about
and am redirected tomysite.com/es/about-us
.Actual behavior: Visit
mysite.com/es/about
. No redirect occurs and I receive 404 error.Note: If I visit
/about
with my cookie set toes
, it does redirect to/es/about-us
as expectedBeta Was this translation helpful? Give feedback.
All reactions