Site works fine EXCEPT when using netlify redirect

Hi!

I have a Netlify deployed website hosted at https://pratik.is/

Everything works well, except when I’m using Netlify redirects. For example, I have https:/pratik.is/here redirect to the root index page with the following rule:

/here               https://pratik.is/     200

However, if you navigate to https:/pratik.is/here you will see the following error:


Other notes:

Fixed it by moving the _redirects file to public/ for my NextJS project, following the directions at the bottom here: next-runtime/redirects-rewrites.md at main · netlify/next-runtime · GitHub.

I was upgrading from a prior plugin version and it started this issue.

1 Like

Thanks for coming back and letting us know, @pringshia! Happy building :rocket: