🌐Redirects loop forever (too many redirects)
This page isn't working. redirected you too many times. ERR_TOO_MANY_REDIRECTS
A page sends you to another address, and that address sends you back to the first one, over and over without end.
🤔 Why does it happen?
- Not logged in → sent to the login page, but the login page also needs login → sent again… so the pages keep sending you to each other
- The www address and the plain address point to each other
- Forced https redirects are set up in two places (hosting and DNS)
🔧 Try this
- Clear your browser's cookies and visit again
- Check that the login page is left out (an exception) in your middleware or redirect settings
- In your domain settings, check that the www ↔ plain address redirect goes only one way
🤖 Ask your AI like this
I get ERR_TOO_MANY_REDIRECTS when I visit my site. Please find where the redirect loops (middleware, login check, or domain/www settings) and fix it.
Replace the [ ] parts with your own situation, and paste the error with a few extra lines before and after it.
Related terms
Other errors in this group
- Page not found (404)
404 Not Found - Internal server error (500)
500 Internal Server Error - Authentication failed (401)
401 Unauthorized - No permission (403)
403 Forbidden - Too many requests (429)
429 Too Many Requests - CORS error (cross-site request blocked)
blocked by CORS policy - Couldn't send the request (Failed to fetch)
TypeError: Failed to fetch - Connection refused (localhost refused to connect)
ERR_CONNECTION_REFUSED - Mixed content (http request on an https page)
Mixed Content - Request method not allowed (405)
405 Method Not Allowed - What you sent is too big (413)
413 Payload Too Large - The middle server got no answer (502)
502 Bad Gateway - Service temporarily unavailable (503)
503 Service Unavailable - Blocked by an ad blocker
net::ERR_BLOCKED_BY_CLIENT - An image or file won't load
Failed to load resource: 404 (Not Found)