Circular redirect arrows around a browser window illustrating the WordPress too many redirects error

WordPress Too Many Redirects: Causes and Fixes

WordPress too many redirects (ERR_TOO_MANY_REDIRECTS) means your browser is being sent in a circle between URLs until it gives up. The usual causes are a mismatched site URL, an HTTP/HTTPS conflict, a plugin or cache redirect rule, or a damaged .htaccess file. Work through the checks below in order, from the quickest to the most technical.

I see this error most often after an SSL change, a migration, or a caching plugin update. Once you know which layer is looping, the fix is usually small.

What the too many redirects error means

Every redirect tells the browser to load a different address. When two rules point at each other, for example one forces www and another removes it, or one forces HTTPS while another sends visitors back to HTTP, the browser never reaches a page. Chrome shows a message such as “This page isn’t working” and “redirected you too many times”.

Quick checks before you change anything

  1. Open the site in a private window. If it loads, the problem is a stale cookie or cache in your normal browser.
  2. Clear cookies for your domain. A bad login cookie is a common reason only /wp-admin/ loops.
  3. Purge every cache layer. That means your caching plugin, server cache, and CDN.
  4. Try another device or network. This confirms whether the loop is on the server or only in your browser.

Fix 1: Match your WordPress Address and Site Address

If you can still log in, go to Settings > General and check that WordPress Address (URL) and Site Address (URL) use the same scheme (https://) and the same www choice. A mismatch between them, or between them and your server redirect, is the most frequent cause.

If you are locked out, take a backup and then set both values in wp-config.php, above the line that says “That’s all, stop editing”:

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

The WordPress documentation lists these constants as a way to override the stored URLs (see the WordPress guide to moving a site). Replace example.com with your real domain, and use exactly the version (with or without www) you want visitors to see.

Fix 2: Deactivate plugins to find the culprit

Redirect, SEO, SSL, and caching plugins can all create their own rules. If you cannot reach the dashboard, use SFTP or your hosting File Manager and rename wp-content/plugins to plugins-off. If the loop stops, rename it back, then reactivate plugins one at a time until it returns. The same method works for general conflicts, as covered in our guide to WordPress plugin conflicts.

Fix 3: Reset the .htaccess file

On Apache or LiteSpeed servers, a custom rule in .htaccess can redirect in a loop. Rename the file to .htaccess-old and reload the site. If it works, go to Settings > Permalinks, click Save Changes, and WordPress will create a fresh file. The standard WordPress block looks like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Re-add any custom redirects from your old file afterwards, one at a time, and test after each.

Fix 4: Check SSL, CDN, and hosting redirects

Only one place should force HTTPS or www. If your host, CDN, plugin, and .htaccess all do it, they can fight each other. Check these in order:

  • Hosting panel: look for “Force HTTPS” and domain redirect settings.
  • CDN SSL mode: if your CDN connects to your server over plain HTTP while the server forces HTTPS, the request loops. Switch the CDN to a mode that connects over HTTPS, once your server has a valid certificate.
  • Reverse proxy or load balancer: if WordPress cannot tell the request was HTTPS, add this to wp-config.php only if your host confirms it sends that header:
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) {
    $_SERVER['HTTPS'] = 'on';
}

Fix 5: Repair old URLs after a migration

If the loop started after moving domains or switching to HTTPS, the database may still hold old addresses. Use WP-CLI search-replace or a trusted plugin rather than a plain find-and-replace, because WordPress stores serialized data that can break. The WordPress documentation also warns never to change the GUID column. For a safer approach to moves, read how to migrate a WordPress site without downtime.

How to prevent redirect loops

  • Take a full backup of files and database before changing URLs, SSL, or redirects. The WordPress backup guide notes that you need both to restore a typical site, and our backup and restore guide shows the steps.
  • Keep one source of truth for redirects: either the server or one plugin, not both.
  • Test in a private window after every SSL, caching, or redirect change.
  • If the site is also showing server errors, see how to fix the WordPress 500 error.

Need help fixing a redirect loop?

I have 10+ years of experience fixing WordPress and WooCommerce errors, and I am Top Rated on Upwork with a 100% Job Success score. If your site is stuck in a loop and you would rather not edit server files yourself, see my WordPress fixes service or get in touch. I reply within 24 hours.

Frequently Asked Questions

Why does only wp-admin show too many redirects?

That usually points to a cookie problem, a mismatch between the WordPress Address and Site Address, or an SSL rule that applies only to admin pages. Clear cookies, then check the URL settings and any security plugin that forces HTTPS for logins.

Will clearing my browser cache fix it?

Sometimes. If the site loads in a private window or on another device, the cause is local and clearing cookies and cache will help. If it fails everywhere, the cause is on the server, so continue with the fixes above.

Does a redirect loop hurt SEO?

A loop makes pages unreachable for visitors and search engine crawlers, so fix it as soon as you can. Once the site loads normally again, check your key pages in Google Search Console.

Leave a Reply

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

638028265_26170227569275320_6333876549114972331_n

Meet Muhammad Aziz

Muhammad Aziz is a results-driven web developer specializing in WordPress, WooCommerce, and custom web solutions that transform ideas into scalable, high-performance digital products.

Related Posts

Explore more

Keep reading

Latest articles

Practical WordPress, WooCommerce and speed guides from real client projects.

View all articles

Ready to start your project? Contact us

Tell us about your goals, and we’ll respond within 24 hours
with a clear plan and detailed quote.