WordPress ERR_TOO_MANY_REDIRECTS: How to Fix the Redirect Loop (2026)

WordPress ERR_TOO_MANY_REDIRECTS: How to Fix the Redirect Loop illustration

“ERR_TOO_MANY_REDIRECTS” means your browser was sent from one address to another in a circle until it gave up. Open the site in a private window first. If the loop is still there, make sure your WordPress Address and Site Address match, then deactivate your plugins and rename the .htaccess file. If you use a CDN such as Cloudflare, check its SSL setting too.

Browsers show this as “This page isn’t working” or “redirected you too many times”. Something keeps telling the browser to go to a different URL, and that URL sends it back. The causes are usually a mismatched site URL, a plugin that handles redirects or HTTPS, a bad .htaccess rule or a CDN setting.

Too Many Redirects vs Login Loop

This error normally affects the whole site, or at least the pages you open. If only the login page keeps coming back after you enter the right password, you have a related but different problem. See our login page refreshing guide.

Quick Diagnosis

What you seeLikely causeStart with
Error appears in one browser onlyOld cookies or cached redirectsFix 1
Started after moving to HTTPS or a new domainSite URL mismatchFix 2
Started after installing or updating a pluginRedirect, SSL, security or cache pluginFix 3
Started after editing .htaccess or changing hostsBad rewrite ruleFix 4
Started after changing CDN or SSL settingsCDN and server SSL do not agreeFix 5

Fix 1: Clear Cookies and Test in a Private Window

Browsers can keep old redirect instructions in cache and cookies. Open your site in a private window or a different browser. If it loads there, clear cookies and cache for your site in your normal browser and the problem is solved. Then clear your caching plugin as well, in case it is serving an old redirect.

Fix 2: Make Your WordPress Address and Site Address Match

Go to Settings, then General. WordPress Address and Site Address should be the same address, with https if your site uses HTTPS. If one says http and the other https, or one has www and the other does not, visitors can be sent back and forth.

If you cannot open the dashboard, set both values in wp-config.php. The WordPress handbook says WP_HOME and WP_SITEURL set these addresses in the file, and they override the values stored in the database. Add these lines above the line that says “That’s all, stop editing”, replacing the address with your own:

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

Remember the lines are now in charge. If you remove them later, WordPress goes back to the address in the database.

Fix 3: Deactivate Plugins

Redirect, security, SSL and caching plugins are the usual suspects, though any plugin can cause a loop. Deactivate all plugins, test, then reactivate them one at a time. If you cannot open the dashboard, rename the wp-content/plugins folder over FTP. Our plugin conflict guide shows every step.

Fix 4: Rename .htaccess

A broken rewrite rule can cause a loop. Back up the file, then rename .htaccess to .htaccess-old in your site’s root folder. Reload the site. If it works, go to Settings, then Permalinks, and click Save Changes so WordPress writes a fresh clean file. If your host or a plugin added special redirect rules to the old file, you may need to add them back, so keep the old copy. If the rename causes a 500 error instead, see our 500 error guide.

Fix 5: Check Your CDN and SSL Settings

If you use Cloudflare or another CDN, its SSL mode must agree with your server. A common loop happens when the CDN talks to your server over plain HTTP while your server forces HTTPS, so each side keeps redirecting the other. Check the SSL mode in your CDN dashboard, make sure it matches how your server is set up, and purge the CDN cache. To test, pause the CDN briefly and see whether the loop disappears. If it does, the CDN setting is the cause. Also check that your host, a plugin and your .htaccess are not all forcing HTTPS in different ways at the same time.

Fix 6: Test Your Theme

A theme with its own redirect code can also cause a loop. Switch to a default theme such as Twenty Twenty-Five. If you are locked out, rename the active theme’s folder over FTP, which makes WordPress fall back to a default theme if one is installed.

Common Mistakes

  • Changing the site URL in the database and in wp-config.php to different values.
  • Adding an HTTPS redirect in a plugin while the host already forces HTTPS.
  • Forgetting to clear cache after each change, which makes a fix look like it failed.
  • Deleting .htaccess without a backup.

Related Guides

Verified Facts and Sources

The WP_HOME and WP_SITEURL behavior comes from the WordPress developer handbook. The cookie, plugin, .htaccess and CDN checks are the common causes listed by the hosting guides below, and the exact steps were not tested on a broken site. Your host may need to help with server-level or CDN settings.

Frequently Asked Questions

What does ERR_TOO_MANY_REDIRECTS mean?

Your browser followed a chain of redirects that kept sending it back to an earlier address, so it stopped. The site or a service in front of it is redirecting in a circle.

Can clearing cookies fix too many redirects?

Sometimes. If the site loads in a private window but not in your normal browser, old cookies or cached redirects are the cause, and clearing them for your site fixes it.

Can a plugin cause a redirect loop?

Yes. Redirect, security, SSL and caching plugins are the usual suspects. Deactivate your plugins, test, and reactivate them one at a time to find which one is responsible.

Why does Cloudflare cause too many redirects?

The loop can happen when the CDN SSL mode and your server HTTPS settings disagree, so each side keeps redirecting the other. Check the SSL mode in your CDN dashboard.

Updated December 2, 2026.

More WordPress Error Fixes

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *