Too many redirects: your site sends visitors around in a loop
Last reviewed
Your pages keep pointing at each other and never load.
Too many redirects is the browser error shown when a page sends the visitor to another address that sends them back, round and round, until the browser gives up. In Chrome it reads ERR_TOO_MANY_REDIRECTS. The loop usually comes from two settings disagreeing about https or www, and the fix is making them agree on one final address.
Why a redirect loop costs you customers
A redirect loop blocks visitors on any device, with no page at all. It often appears right after a change meant to improve the site, such as turning on HTTPS or a new CDN setting, so the person who made the change may believe it worked. Search engines cannot reach a page caught in a loop either.
What usually causes a redirect loop
- The CDN sends visitors to http while the server sends them back to https, or the reverse
- Two rules disagree about www and the bare domain
- The site address setting in WordPress or the platform does not match the real address
- A redirect plugin and a server rule both redirect the same page
- A login or language rule that keeps sending the visitor to the page they are already on
How to check for a redirect loop yourself
- Open the page in a private browser window. If it still says the page redirected you too many times, the loop is on the site, not in your browser's saved cookies.
- Use a free redirect-chain lookup site and paste your address. A loop shows the same two or three addresses repeating.
- Note whether the repeating addresses differ only by http and https, or by www. That tells your web person which setting to look at.
- Think back to the last change: turning on HTTPS, a new CDN, a security plugin or a domain move.
How to fix a redirect loop
- Your web person picks one final address, for example https with www, and makes every setting agree on it.
- If you use a CDN, your web person sets its encryption mode to talk to the server over https, so the two stop bouncing visitors.
- Your web person corrects the site address in the platform settings to the final address.
- Your web person removes the duplicate rule when a plugin and the server both redirect the same page.
- After any change to HTTPS, CDN or domain settings, check the main pages in a private window straight away, so a new loop is caught quickly.
How Prsona catches a redirect loop
Prsona follows each address it checks to its final page on each scan. A homepage stuck in a redirect loop is reported as the site being down, and an inner page that loops is named with its address and the note that it redirects in a loop.
Prsona looks for a redirect loop as part of uptime monitoring and broken page detection.
Check that the addresses people use lead to a page.
Questions about a redirect loop
Does clearing cookies fix too many redirects?
Only for a loop caused by a cookie in your own browser. If a private window shows the same error, the loop is in the site's settings and every visitor sees it, so clearing cookies will not help them.
Why did turning on HTTPS cause a redirect loop?
Usually because a CDN and the server disagree. The CDN talks to the server over http, the server redirects to https, and the CDN passes the visitor back again. Setting both to use https ends the loop.