sfw/fix
ERR_TOO_MANY_REDIRECTS critical

ERR_TOO_MANY_REDIRECTS (Redirect Loop)

A redirect loop sends the browser bouncing between URLs forever until it gives up — taking the page down entirely.

What you see

This page isn’t working
example.com redirected you too many times.
ERR_TOO_MANY_REDIRECTS

What’s actually happening

URL A redirects to B, which redirects back to A (or a longer cycle). The browser follows the chain, detects it’s endless, and aborts. The page is completely inaccessible. Extremely common after an HTTPS or www/non-www change.

Common causes

  • Conflicting http→https and https→http rules (often Cloudflare "Flexible" SSL fighting a server redirect)
  • www→non-www and non-www→www rules that contradict each other
  • A CMS site URL set to one protocol while the server forces another
  • Duplicate redirect rules in .htaccess and the CMS

How to fix it

  1. Map the redirect chainUse a redirect-checker (or curl -IL) on the URL. It prints every hop — you’ll see exactly where A points to B points back to A.
  2. Fix the SSL mode mismatchIf you use Cloudflare, "Flexible" SSL plus a server-side https redirect is the classic loop. Set SSL to "Full (strict)" so the origin is actually HTTPS and the loop dissolves.
  3. Pick one canonical host + protocolDecide on https://www OR https:// (non-www), and ensure only one redirect rule enforces it. Remove the contradicting rule from .htaccess or the CMS.
  4. Align the CMS site URLMake sure the CMS site/home URL matches the canonical you chose, so it isn’t redirecting against the server.
Related errors