You open your website and the browser says it "redirected you too many times", with the code ERR_TOO_MANY_REDIRECTS. Sometimes it happens right after you add SSL, move to a new host or connect Cloudflare, and sometimes for no clear reason at all. If you're stuck on the too many redirects error, this article will help you.
We are here to help you find which two settings are fighting and fix it, step by step. This guide is based on four threads in the WordPress.org Fixing WordPress forum, the WordPress and Cloudflare documentation, WordPress's source code, and our own tests, including one in which we reproduced the error on purpose.
Related Articles
- How To Fix The WordPress Login Page Refreshing Issue
- How To Fix WordPress Admin Keeps Redirecting Problem
- How To Force SSL In WordPress
What The Error Means
A redirect sends your browser from one address to another. Most redirect loops happen when two rules disagree: the first sends the browser to address B, and the second sends it straight back to address A. The browser bounces between them until it gives up.
Chrome then shows "This page isn't working" and ERR_TOO_MANY_REDIRECTS. Firefox says "The page isn't redirecting properly", as one forum user quoted. The error comes from the browser, so it doesn't tell you which rule is at fault.
What We Saw When We Reproduced It
To see the loop for ourselves, we set up a small test server on our computer with two rules that disagree. One removed "www" from the address, like a host or Cloudflare setting can. The other added "www" back, the way WordPress does when its Site Address uses www. This test server wasn't a WordPress site, but the loop works the same way.

The test also suggests why the error can linger. With temporary (302) redirects, our server logged every bounce. With permanent (301) redirects, it logged only two requests before Chrome gave up, which suggests Chrome saved those redirects and replayed them without asking the server again. Browsers keep saved redirects in their cache, not in cookies, so the error page's "Try deleting your cookies" tip may not clear them.
Step 1: Test In A Private Window
First, open your site in a private or incognito window, or in a different browser. If it loads there, the loop may already be fixed, and your browser is replaying old redirects. Clear your browser's cache for the site, then try again in your normal window.
If you use a caching plugin or a CDN, clear its cache too, so it doesn't keep serving an old redirect. Our guide to clearing the WordPress cache shows how.
Step 2: Check If WordPress Is Even Involved
Upload a plain file, such as test.html, to your site's main folder and open it in a private window. If it loops too, the redirect happens before WordPress loads: in .htaccess rules (including ones an SSL or caching plugin added), or in your server, DNS or CDN settings.
One forum user moving a site to a new server found that a simple .html file outside WordPress showed the same error. They weren't sure what that meant, and the thread closed without a confirmed cause.
In another thread, a forum member found that the site's "www" address had a broken DNS record pointing to an incomplete name. They called it a DNS problem that had nothing to do with WordPress. In the end, the site owner's host fixed it.
Step 3: Check Your WordPress And Site Addresses
Go to Settings → General and look at WordPress Address (URL) and Site Address (URL). Both should match how your site is really served: https or http, with or without www.
This matters because WordPress redirects visitors between the www and non-www versions to match your Site Address. We confirmed this in WordPress's canonical.php code. If your host or CDN forces the opposite version, you get the same loop we reproduced.
In one recent thread, a site on Hostinger looped even though the host found no custom redirect rules in hPanel or .htaccess, HTTPS was forced, and both URLs used HTTPS. A forum moderator's first guess was to change the URLs to all lowercase, then go to Settings → Permalinks and click Save Changes.
If You Can't Reach The Dashboard
A forum member in that thread suggested setting both addresses in wp-config.php, which overrides the database values:
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
Replace example.com with your real address. WP_HOME is the address visitors use. WP_SITEURL is where WordPress's files live, so include the subfolder if WordPress is installed in one. Add both lines above the line that says "That's all, stop editing!", with no slash at the end. The WordPress documentation notes that you can't edit these fields in Settings → General while these lines are in place.

Step 4: Look For Two Things Forcing HTTPS
Many loops are between HTTP and HTTPS, especially after you add SSL or Cloudflare. The same forum member warned that if you use Cloudflare or LiteSpeed Cache, two HTTPS settings can fight each other.
- Cloudflare's Flexible mode: Cloudflare's documentation says Flexible mode connects to your server over plain HTTP. If your server then redirects to HTTPS, the request loops. Cloudflare's fix is to remove the HTTPS redirect from your server, or switch the SSL/TLS encryption mode to Full or higher, which needs an SSL certificate on your server.
- Other reverse proxies: the WordPress HTTPS documentation warns that if a proxy provides SSL but WordPress runs without it, forcing HTTPS for the admin can cause an infinite redirect loop. Its fix is to make WordPress recognize the
HTTP_X_FORWARDED_PROTOheader inwp-config.php, as long as your proxy sends that header. - Plugins and host settings: an SSL plugin, a security plugin and your host's "force HTTPS" switch can each add an HTTPS redirect. Keep just one, so it's clear which one is misfiring.
Step 5: Reset .htaccess And Plugins
If the addresses and HTTPS settings look right, try these, as the moderator and a forum member suggested:
- Deactivate all plugins. If the loop stops, turn them back on one at a time to find the cause. Without dashboard access, rename the
pluginsfolder over FTP, as our critical error guide shows. - Reset .htaccess (single sites only). The forum member called this a last resort. Rename
.htaccessto.htaccess.bak, then go to Settings → Permalinks and click Save Changes. On Apache and LiteSpeed servers, WordPress creates a new.htaccesswith its own rules if it can write to the folder and you use any permalink setting except Plain. It doesn't do this on Multisite, so skip this step there. Copy back anything you still need from the backup, such as your host's PHP-version or caching rules.
If Site Health Says "Too Many Redirects"
This one is different. In one thread, Tools → Site Health showed a critical issue: the site was "unable to reach WordPress.org" and returned "Too many redirects", even with all plugins turned off. Here it's your server's own connection to WordPress.org that loops, not your visitors'. WPMU DEV support staff in the thread pointed to the hosting setup, such as DNS, a proxy or a firewall, and suggested contacting the host. The thread wasn't resolved.
Common Mistakes To Avoid
- Testing only in your normal browser: remembered redirects can make a fixed site still look broken.
- Turning on HTTPS in three places: your host, a plugin and Cloudflare don't all need to redirect.
- Typing the wrong address in wp-config.php: a typo in
WP_HOMEcan create a new loop. Copy the exact address you want visitors to use. - Deleting .htaccess without a copy: rename it instead, so you can bring back custom rules.
Too Many Redirects Error: FAQs
Is ERR_TOO_MANY_REDIRECTS a WordPress error?
No. It's the browser's message for any redirect loop, on any website. The loop may come from WordPress, a plugin, your server, DNS or a CDN.
Why does Chrome tell me to delete cookies?
Some loops do come from cookies, such as login cookies, so it's a fair first step. But in our test with permanent (301) redirects, Chrome stopped asking the server after the first two redirects. Cookies don't hold those saved redirects, so also clear your browser cache or test in a private window.
Can Cloudflare cause too many redirects?
Yes. Cloudflare's own documentation says Flexible mode loops if your server also redirects to HTTPS.
Final Words
The too many redirects error usually means two rules disagree about your site's address. Test in a private window, check whether a plain file loops too, then compare your WordPress addresses with your host, Cloudflare and plugin settings until only one rule is left. Let us know in the comments what caused the loop on your site.
Sources
We checked these sources for this guide on November 30, 2026:
- HTTPS, Migrating WordPress and wp-config.php, WordPress Developer Resources
- ERR_TOO_MANY_REDIRECTS, Cloudflare Docs
- canonical.php and options-permalink.php, WordPress on GitHub
- ERR_TOO_MANY_REDIRECTS on WordPress site hosted on Hostinger, ERR_TOO_MANY_REDIRECTS error, Problem moving existing site to another server and Site Health Status critical issue, WordPress.org Support




