Skip to content
Free website migration on every plan, done by our team.Learn more ›
Performance

How to fix ERR_TOO_MANY_REDIRECTS (redirect loops)

Fix "redirected you too many times": conflicting HTTPS rules, wrong WordPress URLs, Cloudflare Flexible SSL and stale cookies are the usual causes.

Short answer: A redirect loop means two rules keep sending the browser back and forth, for example http to https and https back to http. The most common causes are conflicting HTTPS redirects, mismatched WordPress addresses and Cloudflare's "Flexible" SSL mode. Fix the conflicting rule and clear your cookies.

Step 1: Clear cookies for the site

Old cookies can keep a loop alive even after the cause is fixed. Clear them for your domain, or test in a private window.

Step 2: Check the WordPress addresses

In Settings → General, the WordPress Address and Site Address must match exactly, including https and www. If you can't reach the dashboard, set them in wp-config.php:

define('WP_HOME', 'https://yourdomain.com'); and define('WP_SITEURL', 'https://yourdomain.com');

Step 3: Look for duplicate HTTPS rules

You may be forcing HTTPS in several places at once: .htaccess, a plugin and your control panel. Keep one method and remove the others. See 301 vs 302 redirects.

Step 4: Check Cloudflare's SSL mode

If your site sits behind Cloudflare with SSL set to Flexible, Cloudflare talks to your server over http while your server redirects to https, creating a loop. Your hosting already has a certificate, so set Cloudflare to Full (strict). See free SSL certificates.

Step 5: Check www rules

A rule sending www to non-www, plus another sending non-www to www, also loops. Pick one version of your domain and redirect the other to it.

Frequently asked questions

Why does the loop only happen on some devices?

Cookies and cached redirects differ between browsers. Clear them, then test again.

Can a plugin cause a redirect loop?

Yes. Redirect, SSL and caching plugins are common culprits. Disable them one at a time to find out.

Will this affect my SEO?

Search engines can't reach pages stuck in a loop, so fix it quickly and check Search Console afterwards. See Google Search Console.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.