What is the ERR_TOO_MANY_REDIRECTS error and how to fix it?

Internet, Web Development

Managing a WordPress site is always exciting, but sure is a lot of work. Now and then you will face some errors, which might be a little frustrating – so it’s always good to prepare in advance. One of the most common errors is the ERR_TOO_MANY_REDIRECTS.

This error is both annoying and confusing. Additionally, if you don’t know how to fix it – it can cause you a lot of stress.

Luckily, the redirects error is easily fixable. With WordPress, you can troubleshoot and fix the error yourself, with minimal effort and no stress.

Let’s start by learning what the ERR_TOO_MANY_REDIRECTS is, what causes it and how to fix this error.

Table of Contents

What is the ERR_TOO_MANY_REDIRECTS Error?

Screenshot of redirects error ERR_TOO_MANY_REDIRECTS

The redirect error is usually the result of incorrect WordPress settings, server misconfiguration or newly installed plugins with redirection functionality. Even changes in your theme might cause this error. The point is – many different things can cause this.

When it occurs, your website goes into an endless redirect loop. What this means, is that the site sends you back and forth between two URLs.

Eventually, the error page will appear on your screen.

While some errors can resolve themselves, unfortunately, the ERR_TOO_MANY_REDIRECTS will require you to roll up your sleeves and fix it.

Luckily, it’s not that hard to fix. It might feel a little bit intimidating, but don’t worry – we will walk you through it.

How to fix the ERR_TOO_MANY_REDIRECTS Error?

Depending on what caused the error, you might have to try a couple of different ways of fixing it.

Here is a list of step-by-step methods on how to fix the ERR_TOO_MANY_REDIRECTS error.

Clearing the WordPress Cache

Sometimes, when this error occurs, you will still be able to reach your WordPress admin area. If you can do so and you are using WordPress caching plugins, you should try to clear WordPress cache. This might be the easiest way to fix this error.

See our step by step guide on how to clear WordPress cache 

In some cases, you will not be able to reach your WordPress admin area. If that happens, jump to next method.

Changing your URL options

Another easy way to fix the ERR_TOO_MANY_REDIRECTS error is to check whether your URL settings are correct. Don’t worry if they’re not working. Fixing this problem is super easy.

  1. Login to your WP admin dashboard
  2. Go to Settings.
  3. Make sure that the two URLs – the WordPress Address and the Site Address match. If not – correct the mistake.
  4. Save all changes made.

Screenshot of WordPress URL settings. Fixing redirects error

Checking/Changing URL settings manually

If you’re facing the redirect error and can’t reach your admin dashboard – you will have to change your URL settings manually. This is a bit more complicated, but only sounds intimidating. Have no fear – it’s still a very easy fix.

All you have to do is access your wp-config.php file and correct it. You can reach and edit the file with your File Manager.

  1. Using your hosting control panel, access your File Manager.
  2. Access WordPress folder and locate your wp-config.php file and press edit.
    Fixing redirects error
  3. Add these code lines to your file (Don’t forget to change the http://mydomain.com to your domain name!).
    define('WP_HOME','http://mydomain.com');
    define('WP_SITEURL','http://mydomain.com');
  4. Save all the changes made.

Disabling WordPress plugins

If the redirect error appeared after you installed a new plugin, chances are – that’s what caused. An outdated or corrupt plugin often causes the error. In this scenario, what you want to do is try and disable your plugins.

Doing this is very easy, just follow these steps:

  1. Using your hosting control panel, access your File Manager.
  2. Locate and access your wp-content folder.
  3. Locate your plugins folder.
    Fixing the redirects error by disabling all WordPress plugins
  4. Select the plugins folder and rename it. F.e.: plugins_disabled It can be named anything; you just have to change it from “plugins”
  5. Save your changes.

If your website works after making these changes – chances are, a new plugin caused the error. In this case just disable that plugin by renaming it’s folder.

Editing the .htaccess file

Lastly, the error might be caused by an issue in your .htaccess file. The file could be corrupted in some way, which in return would cause you all this trouble.

So if nothing mentioned above works you can disable the .htaccess file by simply renaming it. To do so, follow these steps:

  1. Use your hosting control panel to access the File Manager.
  2. Locate the .htaccess file.
  3. Select the .htaccess file and rename it (for example htaccess1)
  4. Save the changes and see if your website works.

If your website works, just replace the .htaccess file contents with the following default WordPress .htaccess settings:

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

Conclusion

It’s always stressful when you run into issues on your site. Of all the errors that you might face, the ERR_TOO_MANY_REDIRECTS is definitely one of the most annoying.

So, If you do run into the redirect error, follow the steps we provided, and you will be able to fix the redirect error in a quick and pain-free way.

https://www.000webhost.com/blog/err_too_many_redirects

Previous Post
How to Monetize a Website
Next Post
Asian TV HD: Strim Saluran Televisyen Asia Di Telefon Dan Android Box Anda

Related Posts

Menu