Home/Blog/WordPress
WordPress · Errors · Troubleshooting

Fix ERR_TOO_MANY_REDIRECTS in WordPress

Naveen Goyal
27 November 2026
3 min read
WordPress
Short answer

The site keeps redirecting between two addresses, usually http and https or www and non-www. Make both WordPress URLs match the real address, set Cloudflare SSL to Full if you use it, remove duplicate HTTPS rules from .htaccess, and test with plugins disabled.

What the error means

The browser asked for a page, was sent to another address, then sent back again, over and over, until it gave up. Something in WordPress, the server or a CDN disagrees about what the site's real address is.

1. Rule out old cookies

Open the site in a private window. If it works there, clear cookies for your domain and you are done.

2. Make the site URLs match

In Settings → General, WordPress Address and Site Address must both be the exact address you use, including https and www or no www. If you cannot reach wp-admin, set them in wp-config.php:

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

3. Cloudflare Flexible SSL

With Cloudflare's Flexible SSL, Cloudflare talks to your server over http while WordPress insists on https, so each side redirects to the other forever. Set Cloudflare's SSL/TLS mode to Full or Full (strict), with a certificate installed on the server.

4. Duplicate redirect rules

Look in .htaccess for more than one block that forces https or www. Two rules pointing in different directions create a loop. Keep one, matching the URLs from step 2. Make a copy of the file before you edit it.

5. A plugin causing the loop

SSL, redirect, security and caching plugins can all add redirects. Rename wp-content/plugins to plugins.off; if the loop stops, rename it back and re-enable plugins one at a time to find the cause. See the right way to debug a plugin conflict.

6. Server or host settings

Some hosts and control panels have their own "force HTTPS" switch. If it is on together with a WordPress or .htaccess rule, turn one of them off.

Frequently asked questions

What causes ERR_TOO_MANY_REDIRECTS in WordPress?

Usually mismatched http/https or www settings, Cloudflare Flexible SSL, duplicate .htaccess redirect rules or a plugin that adds its own redirects.

How do I fix it without wp-admin?

Set WP_HOME and WP_SITEURL in wp-config.php to your real address, and disable plugins by renaming the plugins folder.

Does Cloudflare cause redirect loops?

It can with Flexible SSL. Set SSL/TLS to Full or Full (strict) with a certificate on your server.

Will clearing cookies fix it?

Sometimes. Try a private window first; if the site works there, clearing cookies for your domain fixes it.

Free tool: Site Diagnostics

Finds plugin conflicts, explains errors from debug.log and tracks what changed on your site.