Redirects broken #3787
Labels
archived
This issue has been locked.
closed-for-staleness
pending-triage
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Before opening, please confirm:
App Id
dfgwx0v13a7s4
AWS Region
eu-west-2
Amplify Hosting feature
Redirects
Frontend framework
React
Next.js version
N/A
Next.js router
App Router
Describe the bug
On Thursday 2nd November roughly around 6PM UTC we suddenly experienced a redirect loop with our website.
We investigated and discovered the cause of the redirect looping: our redirect rules that we haven't changed in almost a year. When we removed the rules, the looping stopped. We would like to restore the rules.
In the logs we saw this:
We've changed the domains and subdomains but here's what our rules used to look like:
We now only have the third rule with the status 200. If we restore all three rules, the redirect loop returns.
Expected behavior
When navigating to https://subdomain.devdomain.co.uk we expect it to go to https://subdomain.domain.co.uk
When navigating to https://subdomain.devdomain.co.uk/abc we expect it to go to https://subdomain.domain.co.uk/abc
There should be no looping.
Reproduction steps
Build Settings
No response
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: