A redirect loop happens when a URL redirects to another URL that eventually redirects back to the first, so the browser goes round in circles and the page never loads. Instead of the page, visitors see an error, such as Chrome’s “This page isn’t working … redirected you too many times” (ERR_TOO_MANY_REDIRECTS) or Firefox’s “The page isn’t redirecting properly”.
How a redirect loop works
A redirect tells the browser to fetch a different address. In a loop, two or more rules disagree. The simplest version is A to B and B to A. Longer loops run A to B to C and back to A, which is why a loop can look like a redirect chain that never ends. Browsers stop after a set number of attempts and show an error. Googlebot gives up too and records a redirect error, so the page drops out of the index if the loop persists.
Loops are almost always caused by two parts of a setup each trying to enforce a different rule. The common culprits:
- HTTP and HTTPS conflicts. A CDN such as Cloudflare set to “Flexible” SSL talks to the server over http, the server forces https, and the two pass the request back and forth.
- www and non-www disagreements. The host forces www while the CMS settings force the bare domain. See www vs non-www.
- Trailing slash rules. One rule adds a slash, another removes it.
- Conflicting redirect sources. A rule in the .htaccess file and a redirect plugin each send the same page somewhere different.
- Login and cookie logic. A members area redirects visitors without a cookie to a login page, which redirects back because it cannot set the cookie.
Why it matters
A loop makes the page completely unreachable. Unlike a slow page or a weak title, there is no partial value: visitors cannot see it, customers cannot buy or enquire, and Google cannot index it. When the loop affects the whole site, as an SSL or hostname conflict often does, the business effectively disappears from the web until it is fixed.
Loops frequently appear straight after a change: installing an SSL certificate, moving hosts, switching on a CDN, or launching a redesign. For a small UK business, that often means on a Friday afternoon, with the site down for the weekend before anyone notices.
Common mistakes
- Enforcing the same rule in several places. HTTPS forced by the host, the CDN, the CMS and a plugin is four chances to disagree.
- Testing only in your own browser. Cached redirects can make a fixed loop look broken, or a broken loop look fixed. Test in a private window or with a header checker.
- Editing the WordPress address settings by guesswork. Mismatched “WordPress Address” and “Site Address” values are a classic cause of a loop that locks you out of the dashboard.
- Making redirect changes live without a backup. Always keep a copy of the previous configuration so you can roll back in minutes.
How to act on it
First, confirm the loop with a header checker or the browser’s developer tools, which list every hop and show where the circle closes. Clear your browser cache and cookies before retesting. Then decide on one canonical form of each URL (https, with or without www, with or without a trailing slash) and enforce it in one place only, ideally at the server or CDN. Remove the duplicate rules elsewhere.
If you use Cloudflare, check that the SSL mode suits your server; “Full (strict)” is normally right when the server has a valid certificate. After the fix, use URL Inspection in Search Console on affected pages to request recrawling. Diagnosing loops and conflicting redirect rules is everyday work in technical SEO.
