How to Fix ERR_TOO_MANY_REDIRECTS in WordPress

Published on January 31, 2022 by Kevin Graham

When you’re managing your own website, you’re bound to come across some glitches and errors. While some of them can get annoying, it’s kind of part of the fun of running a website. The issue is a bother, but once you fix it, don’t you feel good about yourself? Like, I wish my high school computer science teacher could see me now, sort of good.

The error ERR_TOO_MANY_REDIRECTS is one of the common error codes that can appear on your WordPress website. It usually happens after problematic recent changes, a misconfiguration on the server, or incompatibilities in the settings.

In any case – don’t worry! We’ll show you how to fix ERR_TOO_MANY_REDIRECTS in WordPress, and once you fix this problem, you’ll be feeling good about your web skills in no time.


The ERR_TOO_MANY_REDIRECTS error is pretty self-explanatory – it’s an issue of too many redirects.

For instance, URL A leads to URL B, which leads to URL C, which leads back to URL A, which leads to URL B, which leads to URL C, and – you see the problem – it goes on in an infinite redirection loop.

So the browser – rather than pointlessly, endlessly proceeding through the loop – informs the site visitor that there’s an issue. ERR_TOO_MANY_REDIRECTS means that the website is in a redirection loop due to some misconfiguration.

Basically, the cause of the ERR_TOO_MANY_REDIRECTS issue is misconfiguration related to the website. From WordPress’ SEO-friendly URL structure and various SEO plugins that use the redirect functionality, to the WordPress SSL and cache plugins which also use redirects, the chances of a misconfiguration happening somewhere along the way aren’t too slim.

This means that the ERR_TOO_MANY_REDIRECTS may be caused by:

  • your WordPress settings,
  • your server settings,
  • any of your various caches,
  • new or recently updated plugins,
  • SSL or URL incompatibilities,
  • unsuccessful HTTP to HTTPS migrations…

But don’t worry about all this! We’ll take you through the process of troubleshooting and fixing the problem step by step.

Variations of ERR_TOO_MANY_REDIRECTS Across Browsers

You may get different error messages, depending on which browser you’re using. Essentially, they’re all dealing with the same issue, and are fixed in the same way.

Google Chrome

Chrome is our go-to example. The page will say:

“This page isn’t working.”

“ redirected you too many times.”

“Try clearing your cookies.*”



This webpage has a redirect loop problem.”

It’s pretty clear what the issue is.

Microsoft Edge

Microsoft Edge is the only browser apart from Chrome that will show the same exact error code below the error message. This is what the page will show:

“This page isn’t working right now.”

“ redirected you too many times.”


Mozilla Firefox

If you’re using Mozilla Firefox, the error message will read:

“The page isn’t redirecting properly.”

“An error occurred during a connection to 

  • This problem can sometimes be caused by disabling or refusing to accept cookies.*”


Safari will say:

“Safari Can’t Open the Page”

“Too many redirects occurred trying to open “” This might occur if you open a page that is redirected to open another page which is then redirected to open the original page.”

Bottom Line: As you can see, each browser makes it pretty clear that it’s a redirection issue.

Now, we’ve conveniently placed a * next to two lines – one in the Chrome window and one in the Mozilla window to draw your attention to the first and easiest possible solution to the issue – cookies.

How to Fix ERR_TOO_MANY_REDIRECTS in WordPress

Let’s look at several simple solutions to the ERR_TOO_MANY_REDIRECTS error.

1. Try Clearing Your Cookies

“Try Clearing Your Cookies” is advice straight out of the error message that Chrome will show. Mozilla suggests the same. Clearing your cookies is the easiest and simplest way to try to get the website to work again. This method can work both on your own website and on another website that you’re just visiting.

Cookies basically save the login status and various other settings on sites that you frequent. Refreshing this information, by clearing the cookies, can solve the redirect issue.

Here’s how to clear your cookies:

  1. Click on the Customize and control Google Chrome button in the right-hand corner of your screen. Select Settings.

  2. Scroll to the bottom of the resulting window, and click on Advanced.

  3. Find Site Settings from the list, and click it.
  4. Click on Cookies and site data. Phew, almost there!
  5. Select See all cookies and site data.

  6. Write the name of the website URL into the Search cookies bar. Then, when it pops up in the list below, click on the trashcan to delete all the cookies on that website.


Now, you can refresh the page where the ERR_TOO_MANY_REDIRECTS error had appeared.

If you want to get rid of all your cookies for all your sites, once you’ve selected Advanced, go to Clear browsing data, and then tick the box only next to cookies, like so:


And click on Clear data.

Again, refresh the website that displays the error code. Did it work? Hopefully. If not, let’s see what you can try next.

Bottom Line: Clearing your cookies is the easiest possible solution to fixing the ERR_TOO_MANY_REDIRECTS issue.

2. Clear Browser Cache

We will go over clearing all kinds of caches, but let’s start with the easiest – your browser cache.

Before clearing your browser cache (you may, after all, have reasons for being attached to it), there’s an easy way to first check if it’s the browser cache indeed that’s causing the issue.

To do this, open Chrome in Incognito mode by clicking on the Customize and control Google Chrome button and selecting New Incognito Window, or simply pressing SHIFT+CTRL+N.

Incognito travels light – without the baggage of the browser cache – so if the website opened without the error message, you need to clear your browser cache.

To do this, you pretty much need to follow similar steps as the ones we showed for clearing all cookies. Or take this shortcut:

Customize and control Google Chrome > More Tools > Clear browsing data.

Check the box next to Cached images and files, and select Clear data.

Bonus Tip: You can kill two birds with one stone and delete your browser cache and cookies all at once. Go to Customize and control Google Chrome > More tools > Clear Browsing data and check the boxes next to both Cached images and files and Cookies and other site data and then click on Clear data.

3. Clear WordPress Cache

If your browser cache wasn’t causing the problem, clearing the cache on your WordPress site is the next thing you should try. (Keep in mind that you’ll only be able to do this if you can access your WordPress admin page. If the redirect loop is happening on the admin page itself, skip to the next solution.)

The best way to clear your WordPress cache is by using a caching plugin. The most popular options are W3 Total Cache and WP Super Cache.

If you don’t have a caching plugin, install one! A caching plugin can help with your search engine and performance optimizations (SEO & WPO).

We’ll use WP Super Cache as an example. To clear your WordPress caching:

From your WordPress admin dashboard, select Settings > WP Super Cache.

The WP Super Cache page will open. Click on Delete Cache to clear the cache on your WordPress site. Then, reload the site and see if the problem was fixed.


4. Clear Server Cache

If you can’t clear your WordPress site cache from the admin board because it’s fallen prey to the dreaded loop, you can clear your cache directly from your server. And mind you, server cache is not infrequently the culprit of the ERR_TOO_MANY_REDIRECTS error.

If your host has server-side caching separate to WordPress caching, access the control panel provided by your host, and clear the website cache directly from there.

Refresh the page, and see if you can now access the site.

5. Clear Proxy Cache

Are you using a proxy to improve your website’s security and performance? That’s smart! A part of a proxy’s job is to have its own caching net. So if you’re using a proxy, you’ll need to clear its cache too, in order to fix the ERR_TOO_MANY_REDIRECTS issue.

The two most popular proxies are Cloudflare and Sucuri.



Clear your cache on Sucuri via the Sucuri dashboard

If you’re using Sucuri, log in through their website. Then go to Performance > Clear Cache.



You can also clear your cache on Cloudflare by logging into their dashboard

To clear your cache on Cloudflare, login to their website, select Caching > Purge Everything.

After clearing the cache on either proxy, try to open the website that displayed the ERR_TOO_MANY_REDIRECTS error and see if you can open it now!

Bottom Line: The different types of cache may be causing the ERR_TOO_MANY_REDIRECTS issue on your WordPress site. Clear each cache and reload the page to see if the problem was resolved.

6. Check WordPress URL Settings

One of the most common causes of the redirect loop is an inconsistency with your WordPress address URL or site address URL. But let’s take it one step at a time.

What does it mean that there is an inconsistency in the website URL?

When you buy a domain from your host, you choose the URL address of your website. Generally, hosts will give you the option of adding the www prefix to the domain name or not. So for instance, your domain may be or

When you begin setting up your page on WordPress, you go to Settings > General, and write the domain name in the two URL lines: WordPress Address (URL) and Site Address (URL).

If you accidentally wrote the URL into WordPress with the www prefix, but specified the domain name without the www prefix when you got it from your host, this inconsistency between the URL’s is causing the ERR_TOO_MANY_REDIRECTS error. The same is true of the opposite – if you originally purchased the domain name with www but wrote it without www into WordPress.

So what happens in such a case, is that a visitor comes to, but is then redirected by the server to, which will redirect them back to, since that’s what you’ve written into the WordPress URL line, and so the loop begins, resulting in the ERR_TOO_MANY_REDIRECTS error.

If You Have Access to WordPress:

To fix this from WordPress, go to Settings > General, and change the WordPress and Site Address URLs.


Check if the URL written into your WordPress General Settings is correct

If you think that you’ve written the wrong domain, and it’s missing a www or shouldn’t have a www, just rewrite the correct address into the WordPress Address and Site Address URLs.

Note: Make sure to add the slash at the end of your URL:

If You Don’t Have Access to WordPress:

You may not be able to access your WordPress dashboard if the loop has “infected” your admin page.

To change the site URL without access to the admin dashboard:

  1. Connect to your website via FTP client.
  1. Find wp-config.php in the root directory.
  1. Download the file and edit it into any text editor program, like Notepad.
  1. Add the following two lines to the file, putting your domain name where we’ve written “domain:”
  1. Save the file and close it. Then, upload it back to the web server.
  2. Try to reopen your WordPress website. If this didn’t work, try the same thing, but add www to the code, like so:
  1. Try to open your website again.

If this didn’t work, the misconfiguration between the URL addresses may be on your host’s end. If you think that this is the case, contact your web host and let them know about the problem. They should look into it and get it fixed!

Bottom Line: Incompatible URL addresses can be causing the ERR_TOO_MANY_REDIRECTS problem. Make sure not to forget the www if it’s supposed to be there, and make sure to omit it if it isn’t!

7. Deactivate Plugins

A lot of the time, plugins use redirection functions for various purposes. So, the ERR_TOO_MANY_REDIRECTS issue may be caused by one of your plugins. But which one?

An easy first step is to think whether you recently installed a new plugin or updated an existing one. If so, this plugin is probably the culprit.

Disabling Plugins from the WordPress Admin Dashboard

If you can access your WordPress admin dashboard, open the Plugins tab on the left, then click on Deactivate next to the guilty plugin, and refresh the site that was displaying the error to see if it worked.

If you’re not sure which plugin is responsible for the error message, disable all plugins. To do this, select Plugins and then click on Deactivate from the bulk actions menu.


Refresh the page and see if it worked. Now, you can activate your plugins one by one, and see which one causes the ERR_TOO_MANY_REDIRECTS when activated. Make sure to reload your webpage after activating each plugin. Once you find the culprit, deactivate it. You can also contact the plugin developer or post a support ticket to WordPress and ask them to fix the issue.

Disabling Plugins If the WordPress Admin Dashboard Isn’t Working

It’s still possible to disable one – or all – of your plugins even if you can’t access the WordPress admin dashboard.

Hopefully, your host has provided you with access to your FTP server.

  1. Connect to your website via FTP client.
  1. Go to WordPress installation directory.
  1. Find the wp_content/plugins folder.

Now, you have two choices. If you want to only disable one plugin that you think is causing the trouble, find it in the plugins folder and rename it. So if it was called example, rename it to example_old. Refresh your website, and see if it worked.

If you’re not sure which plugin was causing the issue, proceed:

  1. Rename the plugins folder to something like plugins_old. This step deactivates all your plugins.
  1. Try to access your WordPress admin dashboard. If it loads successfully, it means that one of the plugins was causing the issue.
  1. Go back to FTP and rename the plugins folder plugins again, which will reactivate all plugins. Now you need to test the plugins one by one, to see which one is causing the issue.
  1. Rename each plugin folder one at a time to deactivate them individually. Reload the WordPress admin dashboard after each deactivation. If the site works when a particular plugin is deactivated, it means that that’s the plugin that was causing the problem.
Bottom Line: Various plugins use redirect functions, and they may be the cause of your issue. There are easy ways to deactivate your plugins and fix the problem, regardless of whether you have access to your WordPress admin dashboard or not.

8. Check HTTPS Settings

Another common cause of the ERR_TOO_MANY_REDIRECTS error is due to misconfiguration of the HTTPS settings. This can happen if you recently switched to HTTPS from HTTP, and the moving process either wasn’t completed properly, or something in the process wasn’t done properly.

Do You Have an SSL Certificate?

If you migrated your site to HTTPS but you failed to install an SSL certificate, it’s likely that this is causing the redirect problem. Your WordPress site is trying to load over HTTPS and ending up into a redirection loop.

To fix this, you basically need to install an SSL certificate. Once you’ve installed a valid SSL certificate, your WordPress website will begin to work properly.

To be on the safe side though, you should also run an SSL server test, to see if all necessary SSL and TLS certificates are in order (including intermediate certificates). We recommend using Qualys, which offers free SSL server tests.

Simply enter your website domain in the bar next to Hostname and hit enter.

After a couple of minutes, Qualys will provide you with the results. It will specify certificate issues (if any), so that you can go about fixing them yourself, or asking your host for help.

Are You Using an SSL Plugin?

In order to quickly migrate your WordPress website to HTTPS, you used one of the free SSL WordPress plugins. These plugins work by automatically redirecting your website to an HTTPS version. While this may be a nice short term solution, it doesn’t work well in the long run, and it may cause problems. (For a long term solution, we advise that you properly update your hard-coded HTTP links and get a proper, valid SSL certificate.)

The issue with free SSL plugins is that they often come with glitches and various compatibility issues. So get rid of your SSL plugin and migrate your website to HTTPS the harder – but right – way.

Check the HTTPS Redirects on Your Server

As we’ve already mentioned, the redirect loop may be an issue stemming from your server. Before you contact your host, there’s an easy way for you to check if the redirect code from HTTP to HTTPS was misconfigured, and fix it yourself.

If Your Server Runs Nginx:

To redirect HTTP traffic to HTTPS on a WordPress website running on Nginx:

  1. Find the Nginx config file.
  1. Add the following code to the file:
listen 80;
return 301$request_uri;
If Your Server Runs Apache:

To redirect HTTP to HTTPS on a WordPress website running on Apache:

  1. Find your .htaccess file.
  1. Add the following code to the file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Run a HTTPS Redirect Test

For one reason or another, the ERR_TOO_MANY_REDIRECTS may be caused by too many HTTPS redirects. The easiest way to check this is to run a HTTPS redirect mapper test, like this one.


Enter your URL and hit enter – the results of your website’s HTTPS redirects will be ready within seconds

If your redirects have a clean setup:

  1. At least one – to all – options will have a maximum of one redirect. In this example, we’ve got one with none, one with none, and two with two redirects – which is pretty good.
  1. All options will end up at the same URL.

Run this test to see if there’s an issue with the way that your website’s redirects are set up.

Bottom Line: Misconfigured HTTPS pathways or HTTP to HTTPS migration can be the cause of the ERR_TOO_MANY_REDIRECTS error code. Go through the various steps to ensure that everything is in order, and if the problem persists, contact your server.


While the ERR_TOO_MANY_REDIRECTS can be frustrating, these simple solutions should help you fix the issue and get your website up and running again!

The error is most commonly caused by various misconfigurations or incompatibilities (between URLs, caches, plugins, and so on). Troubleshooting the issue step by step will help you solve the error and get a better idea of what’s happening behind the scenes of your website, and what allows it to be functional. (Yep, fumbling with code can be quite humbling!)

Keep in mind that we recommend you try the solutions one by one, as we begin with the easiest and proceed with the slightly more challenging ways of solving the ERR_TOO_MANY_REDIRECTS issue. Clearing the cache and cookies, for instance, is a go-to first solution for most browser error codes, including error messages such as Your Connection is Not Private and DNS_PROBE_FINISHED_NXDOMAIN.

If you tried everything and the problem persists, don’t shy away from contacting your web host and asking for help. They can troubleshoot the redirection loop as well, and track down the cause of ERR_TOO_MANY_REDIRECTS. If you have access to your WordPress admin dashboard, you can also leave a support ticket in the WordPress repository letting them know about your problem.

Stop leaving money on the table.

Speed up your WordPress site today by moving to WP Bolt.

Get Started