I have created a _redirects file in the root of next.js and after building it, I can see it along with the other next.js redirects, but the rewrite I wrote is not working.
Here is what I wanted :- Whenever a user visits the homepage ie
/ I need to serve
/home path as a rewrite proxy. All other path stay same. No changes. This is what I wrote in the _redirects file.
/ /home 200
After the build, I can see the
_redirects file in the
out folder. But / returns
Can you confirm is this the correct method. Also I have to pass params and netlify docs says it will do automatically.
I did not put
/* because I need other subpaths exactly. Only the home/index page needs to be rewritten.
Netlify Staff can see the Project which is in my recent projects starts with “Su”