Subject says it all. I have a next.js site in Amplify.
The site is using a route53 domain.
Every time I try to reach one of its pages im redirected to /
Every solution I find online is the same - follow these steps:
https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa\
Implementing the redirects below makes it so that pages just dont redirect and instead show 404 not found pages when I try.
| Head | Head | Head |
|---|
| /<*> | /index.html | 404 (Rewrite) |
| regex not showing on forum, using SPA regex from AWS link above | /index.html | 200 (Rewrite) |
Implementing the redirect below makes it so that all pages, including / show 404 not found.
| Head | Head | Head |
|---|
| regex not showing on forum, usingSPA regex from AWS link above | /index.html | 200 (Rewrite) |
Removing all redirects completely results in everything routing to / again.
What do I need to do here?
Thank you for any assistance...