Experimental "redirects" feature not redirecting to expected url (missing "query" part) #12391
Unanswered
Vadorequest
asked this question in
Help
Replies: 1 comment
-
This is apparently out of scope of RFC |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the following in
next.config.js
When I go to
http://localhost:8888/
, I get redirected tohttp://localhost:8888/api/autoRedirectToLocalisedPage
, but I'd expect to be redirected tohttp://localhost:8888/api/autoRedirectToLocalisedPage?path=
.When I go to
http://localhost:8888/test/some-page
, I don't get redirected at all and it displays a 404 page.Am I doing something wrong? I want that to redirect if the url doesn't start with
/fr
or/en
.Beta Was this translation helpful? Give feedback.
All reactions