I'm trying to run Next js on top of Netlify, but I get 404s except for the root page, and Netlify doesn't show any logs, so I don't know what the error is.
In the React app, I had to create a redirects
file under puiblic, so I tried that too, but it doesn't work. What should I do?
It is a _redirects
file not redirects
,You can also use netlify.toml
instead, and it should be located in publish directory it's important!
Here you have few resource which are very helpful ;-) source-1 , source-2 , source-3. Good Luck!