A redirect loop happens when the redirects on a URL lead back to where they started. Page A redirects to page B, and page B redirects to page A, or a longer circle does the same thing. There is no final page, so nothing ever loads.
Chrome stops and shows “This page isn’t working” with the error ERR_TOO_MANY_REDIRECTS. Other browsers show their own version of “too many redirects”. Googlebot gives up too: Google says it follows up to 10 redirect hops, and Search Console lists a redirect loop as one cause of the “Redirect error” status in the Page indexing report.
Loop versus chain
| Redirect chain | Redirect loop | |
|---|---|---|
| Path | A → B → C → final page | A → B → A → B … |
| Does a page load? | Yes, eventually | Never |
| Effect on visitors | Slower load | Error page |
| Effect on Google | Wasted crawling; may stop following long chains | URL can’t be indexed; it can drop out if it was indexed before |
| Urgency | Fix soon | Fix now |
The usual causes
On the sites we fix, loops almost always come from two systems disagreeing:
- HTTPS settings in two places. The server forces
https://, while a CDN such as Cloudflare connects to the server over plain HTTP (the “Flexible” SSL mode). The server sees HTTP, redirects to HTTPS, Cloudflare requests HTTP again, and round it goes. Setting Cloudflare’s SSL mode to Full (strict) is the usual fix. - www and non-www rules fighting. One rule sends
example.comtowww.example.com, another (in a plugin or the host’s panel) sends it back. - WordPress address settings that don’t match the server, for example the Site Address set to
http://while the server forceshttps://. - Two redirect plugins, or a plugin plus
.htaccess, with rules that point at each other. - A redirect rule written for an old URL that now also matches the new one, such as a pattern for
/blog/*that catches its own target. - Login or cookie redirects, where a page sends visitors to log in and the login page sends them back without setting the cookie.
How to find it
- Paste the URL into the free Redirect Checker. It lists every hop with its status code, so a loop shows the same addresses repeating.
- Test all four versions of the homepage:
http://andhttps://, with and withoutwww. Loops often affect only one of them. - In Search Console, check the Page indexing report for “Redirect error” and inspect an affected URL with URL Inspection.
- Crawl the site. RankThat’s Site Audit reports redirect chains and internal links that point at redirects, so you can see where redirect rules overlap.
How to fix it
- Write down every place that can redirect: the server config or
.htaccess, the CDN, the CMS settings and any redirect plugin. - Pick one place to own each rule, such as HTTPS and www in the server or CDN, page-level redirects in one plugin.
- Remove the duplicate rule from the other places.
- Make each old URL go straight to its final address with a single 301 redirect.
- Clear caches (CDN, plugin, browser) and test again in a private window, because browsers cache 301s.
Common mistakes
- Testing only in your own browser, which may have cached a redirect or a login cookie.
- Fixing the homepage but not the inner pages that use the same rules.
- Adding another redirect to “fix” the loop, which usually makes it longer.