Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Troubleshooting

ERR_TOO_MANY_REDIRECTS: how to fix a redirect loop

ERR_TOO_MANY_REDIRECTS means the browser followed redirects in a loop and gave up. Visitors should clear cookies for the site. Owners should look for two rules that send a URL back and forth, most often an HTTP to HTTPS redirect combined with Cloudflare Flexible SSL.

The short answer
  • Two rules, or two layers, redirect the same URL back and forth.
  • Visitors: delete cookies for the site, which Chrome recommends for this error.
  • Owners: HTTPS redirects at both the origin and Cloudflare Flexible SSL are the classic loop.
Try the website status checkerFree, live, no signup

How do you fix ERR_TOO_MANY_REDIRECTS as a visitor?

  1. 01

    Delete cookies for the site

    Chrome Help recommends deleting cookies for this error, because a broken cookie can stop pages from opening.

  2. 02

    Try a private window

    If it loads, a cookie or an extension is involved. Disable extensions one at a time.

  3. 03

    Try another browser or network

    If it fails everywhere, the redirect loop is on the site and only the owner can fix it.

  4. 04

    Report it

    Send the owner the URL and what you did. A loop that appears after a site change points at a new rule.

See Chrome Help: fix common error messages.

What causes a redirect loop on a website?

Cloudflare Flexible SSL plus an origin HTTPS redirect

In Flexible mode Cloudflare talks to the origin over HTTP. If the origin redirects HTTP to HTTPS, the request loops.

www and non-www conflict

One rule sends example.com to www and another sends www back to the bare domain.

CMS and server rules disagree

A plugin forces one URL form while .htaccess or nginx forces another.

Login redirect loop

A protected page redirects to login, and login redirects back because the session cookie is not accepted.

Cloudflare Always Use HTTPS or HSTS

Edge HTTPS enforcement plus origin redirects, or HSTS with an origin that redirects HTTPS to HTTP.

Conflicting redirect or page rules

Two redirect rules in a CDN, plugin or server config point at each other.

Cloudflare lists these causes in Too many redirects.

How do you trace the loop?

curl: follow redirects, show each hop, stop after a limit
curl -sIL --max-redirs 10 https://example.com/page | grep -iE "^(HTTP|location)"

# a loop prints the same two Location values again and again, for example:
# HTTP/2 301   location: https://example.com/page
# HTTP/2 301   location: https://www.example.com/page
# HTTP/2 301   location: https://example.com/page

Compare the repeated URLs. The rule that creates each hop is the one to change.

What is the fix for each cause?

Fixes from the Cloudflare documentation and common server practice
CauseFix
Flexible SSL and origin HTTPS redirectRemove the origin redirect, or switch to Full or Full (strict) with a certificate on the origin
Always Use HTTPS or HSTS conflictsDisable them if not needed, or enforce HTTPS in one place
Conflicting redirect rulesReview CDN rules, Page Rules, plugins and server config and keep one rule per direction
www versus non-wwwChoose one canonical host and redirect the other to it in one hop
WordPress behind CloudflareCloudflare recommends its WordPress plugin with Automatic HTTPS rewrites enabled

Common questions

What does ERR_TOO_MANY_REDIRECTS mean?

It means Chrome tried to load a page and was redirected too many times, usually in a loop between two URLs. Chromium defines it as an attempt to load a URL that resulted in too many redirects.

How do I fix ERR_TOO_MANY_REDIRECTS in Chrome?

Delete cookies for the site first, as Chrome Help advises. Then test in an Incognito window and try another browser. If it still fails, the loop is on the server, and the owner must fix the conflicting redirect rules.

Why do I get a redirect loop with Cloudflare?

The most common reason is Flexible SSL: Cloudflare connects to your origin over HTTP, and an origin that redirects HTTP to HTTPS sends that request back to Cloudflare, forever. Switch to Full or remove the origin redirect.

How many redirects does Google follow?

Googlebot generally follows up to 10 redirect hops. A loop never resolves, so the page cannot be crawled. Fix loops quickly, because the affected URLs cannot be indexed.

Can WordPress cause ERR_TOO_MANY_REDIRECTS?

Yes. A mismatch between the WordPress and site URL settings, a plugin that forces HTTPS or www, or a server rule fighting a plugin can create a loop. Disable redirect plugins and check the URL settings first.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.