How to Fix “Too Many Redirects” WordPress Error in 2021

Struggling with the Too Many Redirects WordPress error?

This error happens when your web site will get caught in an numerous loop of redirects. Instead of allowing the loop to proceed, your web browser will merely present the Too Many Redirects error message.

Generally, this error can come from factors with caching/cookies, your web site’s URLs, your web site’s .htaccess file, or doubtlessly the plugins that you simply simply’re using.

In this submit, we’ll discuss what this error is and uncover just a few of its commonest causes. Then, we’ll then share six strategies to restore the Too Many Redirects WordPress error. Let’s get started!

What causes the “Too Many Redirects” WordPress error?

The Too Many Redirects WordPress error occurs when a client’s browser cycles by numerous URLs and servers attempting to discover your website. As a end result, the browser may be unable to be part of to the correct server, and the shopper turns into caught in an indefinite redirect loop.

Different browsers will warn prospects about this error in different methods. However, most browsers will present a warning stating that the website “redirects too many events”, or that the net web page “isn’t redirecting appropriately”. If you encounter each of these warnings when attempting to entry your WordPress website, chances are there’s a problem alongside along with your web site’s redirects.

Here is how the error represents in fully completely different browsers:

  • Chrome – This net web page isn’t working. Example.com redirected you too many events. ERR_TOO_MANY_REDIRECTS.
  • Firefox – The net web page isn’t redirecting appropriately.
  • Safari – Safari Can’t Open the Page. Too many redirects occurred attempting to open Example.com.
  • Edge – This net web page isn’t working correct now. Example.com redirected you too many events. ERR_TOO_MANY_REDIRECTS.

There are numerous frequent causes of the Too Many Redirects WordPress error. These embrace a misconfigured website sort out, an outdated cache, or a plugin battle.

Regardless of the set off, this WordPress server error prevents people from accessing your web site. This might be disastrous to your conversion fees and may inflict long-term hurt to your fame as a reliable {{and professional}} enterprise.

Depending on the severity of the redirect loop, you may even be absolutely unable to entry your WordPress admin house. This makes it inconceivable to perform important duties comparable to publishing new content material materials, updating your plugins, and moderating your suggestions.

How to restore the “Too Many Redirects” WordPress error (most interesting methods)

The Too Many Redirects WordPress error be introduced on by quite a lot of varied clashes, software program program, and errors. Fortunately, whenever you do encounter the Too Many Redirects warning, there are a selection of strategies to resolve the redirect loop and get your web site once more on observe shortly.

1. Clear browser cookies and cache

If there’s a mismatch in the URL data saved in your browser, this will likely set off a redirect error. You may also encounter this error whenever you’ve carried out a redirect since your browser last cached the net web page you’re attempting to go to

To resolve whether or not or not that is possible to be inflicting your Too Many Redirects WordPress error, attempt accessing your web site using a particular browser or your browser’s Incognito window. If this appears to resolve the issue, chances are you need to clear the cookies and cache in your widespread web browser.

This course of will fluctuate relying in your chosen browser. For occasion, in Google Chrome you probably can clear the cache and cookies by clicking on the three-dot icon in the upper-right nook. Then select More Tools:

Next, choose Clear purchasing data. In the next popup, resolve a time fluctuate. If you want to delete all of the issues, select All time:

You can resolve the Too Many Redirects WordPress error, by clearing the cache.

After deciding on your time fluctuate, select the subsequent checkboxes: Cookies and completely different web site data and Cached photographs and data. Then hit Clear data.

Google Chrome will now delete all of its cookies and cache, and also you ought to be in a place to entry your web site with out encountering the redirect error. If you’re unsure how to perform this movement in your private browser, we recommend referring to its official documentation for additional data.

Note – because you’re deleting your cookies, you’ll need to log in to your WordPress dashboard as soon as extra (and likewise you’ll even be logged out of various web sites).

2. Clear your caching plugin

Caching plugins are a great way to improve your web site’s effectivity. However, they may moreover impact how your web site handles redirects. In some conditions, this will likely end result in the Too Many Redirects WordPress error.

If you’re using a caching plugin, it’s a smart thought to purge the cache. This course of will fluctuate relying in your chosen reply, so it’s a great suggestion to refer to your plugin’s documentation for explicit instructions. For occasion, whenever you’re using the W3 Total Cache plugin, you probably can navigate to Performance > Dashboard:

The W3 Total Cache plugin.

From there, you probably can select the Empty all caches button. Then attempt accessing your WordPress web site. If your browser not reveals the redirect warning, you’ve effectively acknowledged the perpetrator and resolved the difficulty.

Alternatively, whenever you’re using the WP Super Cache plugin you probably can navigate to Settings > WP Super Cache. Then select Delete Cache:

The WP Super Cache plugin.

WP Super Cache will now delete all cached data out of your website. If your caching plugin was triggering this error, it is best to now have no points accessing your web site.

3. Disable (after which re-enable) your complete plugins

Plugins are an unlimited part of the WordPress experience. However, in addition they add quite a few third-party code to your website. This may impact the best way in which WordPress core implements redirects, which could set off this frequent error.

If you’re using numerous WordPress plugins, it might be troublesome to pinpoint the perpetrator.

To check out this, you probably can then deactivate your complete plugins. If the redirect error rapidly vanishes, it’s extraordinarily attainable {{that a}} plugin is to blame.

To set up the perpetrator, reactivate each plugin individually. As rapidly as your browser resumes complaining in regards to the number of redirects, you’ll have acknowledged the offending plugin. You can then deactivate and delete that plugin, or attain out to its developer for help.

Depending on the severity of the redirect concern, you may be absolutely unable to entry the WordPress administration house. In this example, you probably can be part of to your website using FTP and an FTP shopper comparable to FileZilla:

You can resolve the Too Many Redirects WordPress error using a service such as FTP.

After connecting to your web site, navigate to the /wp-content/ folder. You can then deactivate your complete plugins by renaming the plugins folder to one factor like plugins.deactivate:

The FileZilla FTP client.

Next, attempt logging into the WordPress admin house. If your dashboard is now accessible, you probably can safely assume {{that a}} plugin is at fault.

In your FTP shopper, rename your plugins.deactivate folder once more to plugins.

Now, when you go to the Plugins house in your WordPress dashboard, it is best to see your complete plugins, nonetheless they’ll be deactivated. You can reactivate them one after the opposite using your dashboard until you uncover the problematic plugin.

Alternatively, you might also use FTP to rename each plugin-specific folder individually (thus deactivating it), in order to pinpoint the offender.

If the plugin in question is important, then you may need to uncover a various sooner than bringing your web site out of repairs mode. However, with practically 60,000 plugins in the official WordPress repository alone, it ought to be straightforward to uncover an alternate that meets your needs – and doesn’t set off the redirect concern.

4. Check your URL settings

A mismatch in your WordPress URL settings can sometimes set off redirect errors. To look at your configuration, navigate to Settings > General in the WordPress dashboard:

The WordPress URL configuration settings.

For the overwhelming majority of WordPress web sites, the Site Address and WordPress Address may be equal. If not, substitute the one which’s incorrect. This ought to resolve your redirect woes.

You additionally wants to assure that the URL protocol is suitable. For occasion, whenever you’ve put in an SSL certificates to use HTTPS, assure that every of your web site URLs use HTTPS instead of merely HTTP.

If the redirect error is stopping you from accessing the WordPress admin house, you probably can substitute your URL settings using an FTP shopper. Connect to your website and navigate to the /wp-content/themes/your-theme-folder:

FTP clients can help you resolve the Too Many Redirects WordPress error.

You can then open the capabilities.php file using a textual content material editor comparable to TextEdit or Notepad. Scroll to the underside of this file, and add the subsequent code:

update_option( 'siteurl', 'https://occasion.com' );
update_option( 'dwelling', 'https://occasion.com' );

Make sure to change “https://occasion.com” along with your private web sort out. Then save your changes and add this file to your website. If a URL misconfiguration was to blame, this might resolve the Too Many Redirects WordPress error.

5. Reset your .htaccess file

On most web hosts, WordPress manages redirects via its .htaccess server configuration file. Some plugins have been recognized to make changes to this important file, which could intervene with how WordPress handles redirects.

Even whenever you delete the plugin in question, its changes ought to keep in .htaccess. If you’ve tried your entire earlier fixes and are nonetheless preventing redirects, then you may need to manually reset this file.

To start, be part of to your website using an FTP shopper. You can then navigate to your web site’s root folder:

The WordPress .htaccess file.

Since that’s such a major file, it’s smart to receive a reproduction to your computer. This will operate a backup, merely in case you encounter any points. With this backup safely saved in your computer, you probably can delete the .htaccess file out of your website.

Next, attempt accessing your website, to see whether or not or not this has resolved your draw back. If your WordPress web site seems to be functioning normally, chances are the .htaccess file was corrupted.

WordPress ought to recreate this file mechanically, nonetheless it under no circumstances hurts to make sure. In the WordPress dashboard, navigate to Settings > Permalinks. Select Save changes (you don’t have to really make any changes), and WordPress will create a latest, error-free .htaccess file.

6. Check your space settings

When you created your website, you had the selection to assign it a URL using the “www” prefix or to skip this prefix. For occasion, you may probably configure your web site as “https://www.occasion.com” or just “https://occasion.com”.

Most web internet hosting suppliers allow every configurations to work with a single space. This ensures that people can entry your web site irrespective of whether or not or not they type “www” in when stepping into your web sort out.

When you set in WordPress, it typically discovers these URLs mechanically using the default space settings out of your web host. However, it is doable to edit these settings after the preliminary configuration. If there’s a mismatch between your URL configuration in WordPress and your space settings, this will likely set off the redirect error.

Every provider is totally completely different. However, you probably can usually look at your space settings using the administration panel supplied by your web host. To start, log into your web internet hosting dashboard and navigate to your guidelines of domains:

Managing domains through a web host.

You ought to provide the likelihood to see whether or not or not your space is prepared to use “www” or not. Then, verify that you simply simply’re using the equivalent scheme in WordPress by navigating to Settings > General in the WordPress dashboard.

If there’s a mismatch, then substitute the WordPress URL settings, and save your changes. This ought to be enough to resolve the inconsistency and take away the Too Many Redirects WordPress error.

Fix the “Too Many Redirects” WordPress error for good

WordPress errors aren’t always easy to diagnose. If redirects are at current stopping you from accessing your web site, there may be numerous causes – and numerous potential choices.

When you do encounter the Too Many Redirects error, it’s good to attempt clearing the native browser cache and your caching plugin. If the error persists, it’s time to switch on to additional technical fixes. This consists of resetting your .htaccess file and checking for a mismatch in your URL settings.

For some additional concepts, we now have now a standard submit on WordPress troubleshooting in addition to steps to restore 20+ frequent WordPress errors. We even have many posts on fixing completely different explicit WordPress errors:

Do you’ve got obtained any questions on how to restore the Too Many Redirects error in WordPress? Let us know in the suggestions!

Free data

5 Essential Tips to Speed Up
Your WordPress Site

Reduce your loading time by even 50-80%
just by following straightforward concepts.