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
For the record, navigating to a locale root works as expected:
So as far as I understand the issue, this is about the location that's picked when there's a locale-specific redirect at the root:
As a workaround, you can consider adding your own redirect at the root in the middleware, but I think it would be helpful to investigate wether there's something to address here in next-intl.
Description
I'm rewriting
/about
as/
but when I visit the/
page, the url address bar is/about
20240314-171008.-.Compressed.with.FlexClip.mp4
Mandatory reproduction URL
https://stackblitz.com/edit/stackblitz-starters-nwjigc?file=src%2Fmiddleware.ts
Reproduction description
Visit stackblitz's open prview in new tab and visit
/
pageExpected behaviour
When the
/
page is accessed, the page is a/about
page, but the url is still the/
page.The text was updated successfully, but these errors were encountered: