How to Fix ERR_TOO_MANY_REDIRECTS in WordPress

How to Fix ERR_TOO_MANY_REDIRECTS in WordPress

If you see the ERR_TOO_MANY_REDIRECTS error on your WordPress site, don’t panic! It just means that your website is stuck in an infinite redirection loop. While this error might sound serious, it’s not that hard to fix. In this tutorial, we’ll show you how to do it. Let’s take a look!


ERR_TOO_MANY_REDIRECTS happens when a browser can’t connect to the correct server of your website. In other words, the browser goes back and forth through URLs and severs, trying to figure out the location of your website and then sends it into a redirect loop.

This error can happen due to quite a few reasons, from the browser itself to misconfiguration in your website settings, or corrupted plugins, it’s almost impossible to know what to do right away when err_too_many_redirects error pops out.

Luckily, there are a few things you can do to try and fix this error, and we’ll cover everything one by one.


There are a few ways to fix this error, but it’s hard to pinpoint exactly which one you should use. Feel free to try out every method below until one fixes ERR_TOO_MANY_REDIRECTS error.

1. Deleting Browser Data

Browser data can sometimes store corrupted or outdated cookies and cache, which may cause the ERR_TOO_MANY_REDIRECTS error. So, before making changes to your site, it’s wise to check if it’s not just your browser causing the error by deleting its data history.

To do that, follow these simple steps:

  1. On Chrome, simply click the three small dots on the upper right menu bar of the browser and press Settings. Scroll down and click on Advanced, then Clear Browsing Data.
    This image shows you how to clear browsing data on Google Chrome
  2. On Mozilla, head to the upper right menu button, select Options. Choose Privacy and Security, then Clear Data.
    This image shows you how to clear browsing data on Mozilla Firefox
  3. On Safari, locate History in the top menu bar, then select Clear History. Doing this will automatically delete cookies and browsing data.

2. Checking Your URL Settings

If clearing your browsing data doesn’t fix the problem, check if your WordPress URL settings are configured correctly.

You can do it through the WordPress dashboard or manually.

Checking and Changing URL Settings Manually

When your website is experiencing ERR_TOO_MANY_REDIRECTS error, you probably can’t enter the admin area of your WordPress installation. In that case, you may change the URL settings with the help of your wp-config.php file.

You can edit the file either through your File Manager or an FTP client like FileZilla. In this example, we will show you how to edit the file via Hostinger’s File Manager:

    1. Login to hPanel and head to File Manager under Files.
      This image shows you how to find File Manager on hPanel
    2. In the public_html directory, find your wp-config.php file and right-click to Edit.
      This image shows you how to edit wp-config file through File Manager
    3. Add the following lines to the file. In this case, is your domain name:
    4. Save your changes. Visit your website to check whether the URL change fixed the err_too_many_redirects error.

As an alternative, you can also edit URL settings via your database. You can find a great and easy guide on how to do that here.

IMPORTANT: If your website file is in the default root folder (/public_html/), you can use the default ( URL. If it’s in a subfolder like (/wp/), then replace the URL to something like (

Changing URL Settings via Administrator Dashboard

If you somehow manage to login to your WordPress dashboard, then follow these steps to review and change your URL settings from the admin area:

  1. From your WordPress dashboard, go to Settings.
  2. In the General Settings page, check your WordPress Address (URL) and Site Address (URL).
    This image shows you the URL settings on WordPress
  3. Make sure the URLs you see are configured correctly.
  4. If you’ve edited anything, make sure to save your changes.

3. Deleting WordPress Cache

In some cases, the err_too_many_redirects error happens because of the cache stored on WordPress.

  1. Login to your WordPress dashboard. Head to Plugins -> Add New.
  2. Search for WP Fastest Cache using the search bar and click Install Now -> Activate to set up the plugin.
  3. Look for WP Fastest Cache option under Settings.
  4. On the Delete Cache tab, choose which option suits your needs best.
    This image shows you how to delete WordPress cache with a plugin
  5. If all goes well, you’ll get a confirmation message at the top of the page.

4. Disabling Corrupted Plugins

Another reason that might cause err_too_many_redirects error message is a corrupted or outdated plugin. To see if that’s the source of the problem, disable all of your plugins by manually editing its folder.

You can do so through your hosting provider’s own File Manager or an FTP client, such as FileZilla. In this example, we’ll be using the latter method.

  1. First, configure your FileZilla client.
  2. Once you’re logged in, select Remote Site. Go to wp_content and locate the Plugins folder — right-click to Rename.This image shows you how to disabled plugins folder through an FTP client
  3. Rename the folder to plugins_disabled and try to access your website. If the error message no longer appears, then one or more plugins are corrupted or outdated.
  4. Rename the folder back to Plugins and remove your plugins one by one to check which one is causing the error. We recommend starting with the one that was most recently installed.

5. Disabling .htaccess File

There’s a possibility that some sort of variable in your .htaccess file is making your website go into a loop of redirection. If that’s the case, you can disable your file to regain access to your site.

  1. Access the File Manager via your hosting control panel.
  2. Locate your .htaccess file. If you can’t find it, use this tutorial for guidance.
  3. Right-click to Rename the file. .htaccess_disabled, for example.
    This image shows you how to disable .htaccess file through File Manager
  4. Now check if your website is loading correctly.

If it works, check the .htaccess file’s configuration by right-clicking on the file and Edit. It should look like the default .htaccess configuration. If it’s not, delete the content from the file and paste these default rules instead:

# 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]
# END WordPress

Rename the file back to .htaccess, and you’re done. If misconfigurations in the file are causing the error, this method should fix the problem immediately.

NOTE: Since replacing your previous .htaccess settings may break your website settings, you should always make a backup of the original file before making any changes. 


In this tutorial, you’ve learned five methods to fix the ERR_TOO_MANY_REDIRECTS error on your WordPress website. Here’s a quick recap of these methods:

  • Delete cookies and other browsing data
  • Check and edit URL settings from the WordPress dashboard and manually
  • Delete WordPress cache with a plugin
  • Disable faulty plugins through an FTP client
  • Disable and edit .htaccess file via File Manager

Pretty easy, right? If you have other methods you want to share, or if you have any questions, do drop us a comment. Good luck!

The author

Tomas A.

Tomas is a senior customer support agent at Hostinger. Besides providing top-notch technical advice on a daily basis, he likes to create websites and do various coding side projects.