Troubleshooting

ERR_TOO_MANY_REDIRECTS Error: causes and fix

Quick answer: The site is sending your browser around an endless loop of addresses. Visitors should clear that site's cookies; site owners should check http/https redirects, CDN SSL mode and the site URL.

کروم Medium About 15 min 7 steps Internet, Browser & Website Errors
ERR_TOO_MANY_REDIRECTS Error: causes and fix — A woman in a headscarf leans toward her monitor at a bright office desk, holding a coffee mug.

Symptoms

  • "This page isn't working" and "example.com redirected you too many times" with ERR_TOO_MANY_REDIRECTS
  • "Try deleting your cookies" suggested under the error
  • The address in the bar changes several times in a row before the error appears
  • The page stopped loading right after you signed in or the site switched to HTTPS

Likely causes

  1. An old or broken cookie keeps bouncing the browser between the login page and the home page.
  2. The site loops between http and https, or between the www and non-www address (site owner issue).
  3. The CDN's SSL mode (such as Cloudflare's Flexible) clashes with an HTTPS redirect on the host.
  4. The site URL in WordPress settings or a redirect/SSL plugin is wrong.

Step-by-step fix

Start from step one and test again after each step; steps go from the simplest to the most technical.

  1. Clear that site's cookies

    Click the icon next to the site address in the address bar and delete the site's data under cookies and site data, or clear cookies in "Delete browsing data". This signs you out of that site.

  2. Try an Incognito window

    If the site opens in Incognito, your browser's cookies or cache are the cause. If it fails there and in another browser too, the problem is the site itself; wait for a fix or contact its support.

  3. Check extensions and the clock

    Disable extensions that rewrite addresses (HTTPS enforcers, ad blockers, VPN extensions) one by one. Also set your device clock to automatic; a wrong clock can make login cookies expire instantly, so the login page keeps repeating.

  4. Site owners: trace the redirects

    Use an online redirect checker or the Network tab in Chrome DevTools to see which versions the URL bounces between: http and https, www and non-www, or the login page. That pattern shows where the bad redirect lives.

  5. Site owners: fix CDN SSL mode

    If you use Cloudflare and your host also redirects to HTTPS, Flexible mode creates a loop: the CDN connects to your host over http and the host sends it back to https. Install an SSL certificate on the host and set the mode to Full (strict).

  6. Site owners: check the WordPress URL

    In "Settings > General", "WordPress Address (URL)" and "Site Address (URL)" must match exactly (both https, same www choice). If you can't reach the dashboard, define WP_HOME and WP_SITEURL in wp-config.php; back up the file before editing.

  7. Site owners: keep one redirect

    Your .htaccess file, SSL or redirect plugins, the CDN's "Always Use HTTPS" option and hosting panel rules shouldn't all do the same job. Keep the HTTPS redirect in one place only, disable the rest, then purge the site and CDN caches.

If nothing worked

If you're a visitor and still see the error after clearing cookies, in another browser and on another connection, the site's own settings are broken. Let its support know or try again later.

If you own the site, back up before touching .htaccess, wp-config.php or CDN settings, and change one thing at a time so you know what worked.

You don't need to wipe your whole history or saved passwords; clearing data for that one site is enough.

Frequently asked questions

Will clearing cookies delete my data?

You'll just be signed out of that site and its small preferences, like language, will reset. Saved passwords and history stay unless you choose to delete them too.

Why did this start right after I enabled SSL?

Usually because the HTTPS redirect is now active in two places (for example the CDN and the host or a plugin), or the CDN connects to your host over http. Keep the redirect in one place and set the CDN's SSL mode to Full (strict).

Related problems

Terms used on this page

More Internet, Browser & Website Errors problems

All problems Internet, Browser & Website Errors

Last updated:

Type a few letters of the topic; spelling variants are treated as the same.