SEO

Redirect Loop

Also called infinite redirect, too many redirects

Redirects that send a URL back to itself through one or more steps, so the page never loads and browsers show a 'too many redirects' error.

Quick facts: Redirect Loop

Category
SEO
Also called
infinite redirect, too many redirects
Level
Intermediate
Affects
Page availability, indexing, sales and enquiries, crawl errors
Where to see it
Browser developer tools, HTTP header checkers, Search Console URL Inspection and Page indexing report, CDN and hosting settings
In this article4
  1. How a redirect loop works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

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.

Do and do not

Do

  • Enforce https, www and slash rules in one place only
  • Test in a private window after every change
  • Keep a backup of redirect configuration

Do not

  • Force https in the CDN, server and plugin at once
  • Guess at WordPress address settings
  • Assume the fix worked because your browser loads the page

Questions people ask about this

What does 'too many redirects' mean?

It means the browser followed a series of redirects that kept sending it back to an address it had already visited, so it stopped and showed an error. The page itself may be fine; the redirect rules around it are contradicting each other. Clearing cookies for the site sometimes helps a single visitor, but the real fix is on the server or in the site's settings.

Can a redirect loop hurt my rankings?

Yes, if it lasts. Googlebot cannot reach a page caught in a loop, so it records a redirect error and, over time, drops the page from the index. A loop fixed within hours rarely causes lasting harm. One that runs for weeks can remove pages from results until they are recrawled.

Why did a redirect loop appear after I installed an SSL certificate?

Usually because https is now being enforced in two places that disagree, such as a CDN set to connect to your server over http while the server forces https. The request bounces between them. Setting the CDN to connect over https, and enforcing https in one place only, normally resolves it.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.