Page 1 of 1

Find out what the "ERR_TOO_MANY_REDIRECTS" error is and how to fix this problem on your website

Posted: Thu Jan 23, 2025 8:32 am
by ashammi228
If you encounter the ERR_TOO_MANY_REDIRECTS message when trying using the moj database to load your site, it means that part of the page or all of the content is inaccessible, both for you and your audience.

Although it may seem serious, the error is easy to correct and you should do it as soon as possible to avoid your site users having a negative experience and leaving before they learn about your content .

In this article, we will describe the reasons that cause this error on WordPress pages, as well as the steps to fix it.

Check out what you'll see below:

What does the error "ERR_TOO_MANY_REDIRECTS" mean?
Why do I get this error?
How to fix ERR_TOO_MANY_REDIRECTS error?
What does the error "ERR_TOO_MANY_REDIRECTS" mean?
The ERR_TOO_MANY_REDIRECTS error appears when the browser is unable to establish a connection between the previous page and the next page when requesting redirects.

The translation of the message is basically the following: "ERROR, multiple redirects" .

If you used Google Chrome , the warning appears as follows: “This page isn't working. www.example.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS” or “This webpage has a redirect loop ERR_TOO_MANY_REDIRECTS”.

In Mozilla Firefox it will appear:

“The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies ERR_TOO_MANY_REDIRECTS.”

In both it is clear that the "page does not work", "led to a loop" or there were "excessive redirects" .

Why do I get this error?
Redirects are designed on the web as an efficient SEO (Search Engine Optimization) strategy or simply to make a page available through a different URL.

Let's say you create a highly relevant website, but for some reason, instead of updating the content, you prefer to redirect the user to a new , more complete landing page or one with other features.

It would be inconvenient to ask the user to click or type a new URL into the address bar .

Through redirection, it is possible to access this new page from the old address, but automatically, to improve the user experience .

However, there are cases where redirects are not set up correctly and instead of the old page leading to the new page, it may lead to other URLs or to a path that the browser does not recognize.

When the browser does not understand or does not know which URL to follow , in order to avoid overloading itself, it stops trying to find the correct page and gives the user the “ERR_TOO_MANY_REDIRECTS” error.

In very specific cases, the browser enters an infinite loop of redirects.

The old page is redirected to the new page but due to incorrect settings the new page is also redirected to the old page and this happens continuously until the browser stops displaying the page and also displays ERR_TOO_MANY_REDIRECTS message.

How to fix ERR_TOO_MANY_REDIRECTS error?
If you are not the owner of the website, simply clear your browser's cache and cookies and reload the page. If this attempt is unsuccessful, you will need to contact the owner and wait until they correct the problem before resuming access.

Now, if you are the website owner, you will need to try some changes. The ERR_TOO_MANY_REDIRECTS error is usually the result of a WordPress misconfiguration. In some cases, however, it can be as simple as clearing your browser's cookies or cache.

Therefore, we will point out some very quick correction tips, so that you no longer have this problem and do not let your audience have a bad experience on your website .

Clear your browser's cookies and cache
The browser itself, Google Chrome or Mozilla Firefox, for example, in the context of the message, suggests that the problem may be related to cookies.

So, in addition to guiding website users, this will also be the first step to finding a solution if you are the site owner .

But how do you clear your cache and cookies? It's easy, opting out takes just a few minutes, but it varies by browser. See specific instructions below.

In Chrome
Click on "Menu" and select "Settings".
In Settings, scroll to the bottom and click on "Advanced", other options will become available.
In the “Privacy and security” section, scroll down to find “Clear browsing data.”
Click and then select "Cache and Cookies".
Select how often you want to clean up your storage and click "Clean up data."
In Mozilla Firefox
Click the settings icon, which contains a gear symbol, in the upper right corner of the browser.
Then select "Privacy and Security" and click "Clear Data."
Select the "cookies and cache" option and click "Clear".
Try reloading your site. If clearing your browser's cache and cookies doesn't resolve the issue, you'll need to continue to the next step.

Clear the cache in WordPress
If you use a caching plugin (WP Super Cache or similar), your next attempt should be to clear the cache in WordPress.

As each plugin has a specific configuration , it will be necessary to consult the specifications of the one installed on your blog .

Perform a search on the search engines or look for information on forums and expert support. You will receive instructions on how to clear the cache on your plugin specifically.

Once this is done, you will need to reload the website to see if the problem has been resolved. If this is not the case for you, please continue reading.

Check URL settings
Please check your URL settings, as these redirect errors are often the result of incorrect settings - simply click on the "Settings" option and click on the "General" tab.

There are two possible configurations:

WordPress URL (which specifies where all the files on your WordPress website are located).
Website URL (home page that users access).
In most cases, these two addresses should be the same. Please check this carefully so that differences in URL spelling do not cause errors.

None of them must contain:

space at the end;
www at the beginning (https://www.example.com), the correct thing is https://example.com.
If one URL has www and the other doesn't, adjust them to be the same: either both have www or neither should start with www. You can also try placing the PHP content before the HTML code .

If you are unable to access the settings panel to change the URL, you can make this change by editing the wp-config file:

Access the website file manager via FTP client.
Once connected, open the folder containing your WordPress files.
Locate the wp-config.php file.
Right click and then click "Display/Edit URL".
Add those lines of code to the file (remember to change the URL).
Redefine the address and remember to keep them the same for both home and WordPress ("WP_HOME" and "WP_SITEURL").
Save the file.
Click "Yes" at the command prompt to upload the edited file.
Reload the website and see if the problem is resolved.
It is also possible to make this change via the database, just log in to the server from MySQL. PhpMyAdmin is included in the hosting panels and can be used for that:

Look for the wp_options table (or the other prefix defined during installation).
Double-click the fields you want to modify.
Modify the address in option_value (in the first two lines: home and WordPress address, as we showed you in the previous step).

Reconfigure the security protocol
If you are using a security protocol (SSL certificate), change it to the normal protocol (HTTP), reload the page and see if the error is fixed.

If the error does not appear, it means that your SSL certificate needs to be configured correctly before you can use it again (the address is set to https).

Don't forget to seek expert help or forum help to restore a configuration that guarantees secure access for your users. This will also be important for the reliability of your website.

Reset the .htaccess file
The .htaccess file should always be consulted in case of WordPress errors. It is associated with the Apache server configuration and is used to control even the page redirection settings.

Therefore, any problems with the .htaccess file can cause errors in this routine.

To see if this is the problem, you will need to reset the .htaccess file:

Access site files using the ftp client.
Once logged in, locate the folder containing your WordPress files.
In this folder, look for the .htaccess file.
Download the file as a backup.
Right click and open the file to edit (never edit the backup, but the file on the server).
Clear the contents of the .htaccess file and replace it with a standard configuration (easily available on the Internet).
Save and upload this default file to your web server.
Once the upload is complete, refresh the site.
If the error is fixed, it means you will need to review the settings in the .htaccess file, otherwise you will need to go back to the backup as it is not the source of the problem yet, and check the next option.

Troubleshooting plugins
WordPress plugin can always be the source of the problem . If you have any redirect plugin installed, start by disabling it.

If this works, great. If not, you'll need to disable the installed plugins one by one to check which one caused the error.

But don't despair, especially if you have a long list to check! There is a very handy way to check if this is really the problem: first, deactivate all plugins at once before reloading the page (don't forget to backup the server's .htaccess file as we showed you in the previous step).

If the error is not resolved, activate all plugins again and continue with the next step. If you verify that the problem has been resolved upon reloading the site, you will have to try one by one.

If ERR_TOO_MANY_REDIRECTS prevents you from accessing your settings panel, you will need to disable the plugins manually, via FTP or File Manager:

Locate the WordPress plugins folder located in the wp-content folder (where WordPress was installed).
Rename the folders for each plugin.
Or remove all plugins at once (don't forget the backup).
ERR_TOO_MANY_REDIRECTS is an easy problem to fix, you will only need support if none of the available options resolve the error.

In case that doesn't work, you can enable PHP error reporting to further investigate the site issue.

We hope that with this guide you have really found a quick solution, but if all the steps above are not enough to fix the ERR_TOO_MANY_REDIRECTS error message, please contact your host.

They will know how to fix the website redirect issue and may even have made some changes that are causing this message.

Don't put off that fix for