Find Out What ERR TOO MANY REDIRECTS is And How to Fix it 2021 – The ERR_TOO_MANY_REDIRECTS message (also known as a redirect loop) can leave users feeling confused, but it’s just a warning from the browser. It states that it is impossible to reach the requested page.
Find Out What ERR TOO MANY REDIRECTS is And How to Fix it in 2021
If you encounter this message while trying to load your site, it means the entire page or the entire content is unavailable to you and your users. This may be due to recent changes to your WordPress site, incorrect redirect configuration, or some issue with third-party services.
- 5 Event Planner Marketing Strategies Used by Top Professionals
- How to download free photos from Shutterstock without watermark
While it seems pretty serious, it’s not the end of the world: this error is easy to fix.
But you need to solve it as soon as possible to avoid a bad experience for visitors. After all, if they see that message on the screen, they may give up on you before they even know what you have to offer because your website seems unsafe.
In this post, we will explain the reasons for too many redirection errors on a WordPress site. Apart from that, we will cover the many steps required to fix it.
This is what you will see:
What does ERR_TOO_MANY_REDIRECTS mean?
Too many redirects error is displayed when the browser cannot establish a connection between the start page and the destination page in the redirect.
If you’re using Google Chrome, the warning looks like this: “This page is not working. www.example.com redirects you too often. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS” or “This web page has an ERR_TOO_MANY_REDIRECTS redirect loop.”
In Mozilla Firefox, you will get:
“Page did not redirect properly. Firefox has detected that the webserver is redirecting requests for this address in a way that will never be complete. This issue can sometimes be caused by disabling or refusing to accept the ERR_TOO_MANY_REDIRECTS cookie.”
In both cases, the message is very clear: the page is not loading because it has been redirected to the loop, or there are too many redirect requests.
Why does the ERR_TOO_MANY_REDIRECTS error occur?
Redirects are an efficient SEO strategy or tool to allow users to access pages with different URLs.
Let’s assume that you have a large and relevant website, but, for some reason, instead of refreshing the content, you prefer to send your users to a new page, a page that is more consistent or has more functionality.
It would be inconvenient to have the visitor click again or type a different URL in the address bar.
When you use redirects, people can access the new page automatically when they try to reach the old page. Even after typing in the wrong address, they got to the right page. That means a significant improvement in the user experience.
However, if there is a misconfiguration, the browser can get confused and redirect the visitor to another URL or unknown destination.
When the browser does not understand or know which URL is used, the browser stops searching for the right URL to avoid overload. That’s when the user gets an error message on the screen.
In certain cases, the browser even enters into an infinite redirect loop. That’s how it works: the old URL redirects to the new one, but due to a misconfiguration, the new URL redirects back to the old one.
Finally, the system gave up trying all this and displayed the message: “ERR_TOO_MANY_REDIRECTS”.
How to solve ERR_TOO_MANY_REDIRECTS problems?
If you are not a site admin, you just need to clear the browser cache/cookies and refresh the page. If that doesn’t work, you should call the manager and wait until he fixes it.
However, if you are the manager, you should try a few things. The error is usually the result of a WordPress misconfiguration, as we mentioned earlier. Sometimes, it can be solved with something as easy as clearing cookies or cache.
That’s why we are going to present you with some strategies so that you can get rid of that message. This way, you won’t disappoint your visitors.
Clear cookies and cache
When that message appears, some browsers suggest that the problem may be with the cookies.
That’s why we also recommend you to give it a try even if you are the owner of the site.
But how exactly do you clear cache and cookies? That is easy. This should only take a few minutes, although it differs depending on the browser you are using. Here are some specific instructions:
- At the top right, you will see three small dots. Click on it. Then, select settings;
- Scroll down and click “Advanced”;
- Then you have to click “Clear browsing history”;
- Next, select “cache and cookies”;
- Choose a time range, i.e. how many cookies you want to delete by period (last 24 hours, seven days, four weeks);
- Then, click “Clear data”.
- Click on the three little dots at the top right;
- Next, click “Clear data”;
- Select the “Cookies and Cache” option, and click “Clear”.
Try refreshing your site one more time. If that strategy doesn’t work, you should follow the next steps.
Clear WordPress cache
If you are using a caching plugin (WP Super cache or other), the next attempt should be to empty the WP cache.
Since every plugin works differently, it is important to check the specifications of the plugins you have installed on your blog.
You can Google the plugin name for some info or ask support for help. Then, you will receive instructions on how to clear the cache in your plugin settings specifically within your WordPress admin dashboard.
Then, again, you need to refresh the website to see if everything is ok. If the error is still there, you haven’t done it yet. Keep reading.
Check URL settings
It is very important to check the URL settings as misconfiguration can cause repeated redirects. Click on the “General” tab under “Settings”.
There are two main areas:
- WordPress URL (which determines where all WP files are located);
- Site URL (home address available to users).
In most cases, the two addresses must match. Check carefully, so that the differences do not cause further problems.
Neither of them must contain:
- whitespace at the end;
- www at the beginning (as in https://www.example.com ). Instead, it should be https://example.com.
If one URL contains “www” and the other doesn’t change it to make it the same: both contain it or neither contains it. You can also try inserting PHP before HTML.
If you can’t access the control panel to change the URL, you can still do so by editing the wp-config file:
- Open the file manager (FTP client);
- Open the folder with your WordPress files;
- Find wp-config.php;
- Right-click on “Edit URL”;
- Add that line to the code (don’t forget to change the URL);
- Redefine the address and remember that both must match, home and WordPress (‘WP_HOME’ and ‘WP_SITEURL’);
- Save files;
- Click “Yes” at the command prompt to upload the modified file;
- Refresh the site and check if the problem is solved.
If you want, you can also change the address through the database. All it takes is to login to the webserver via MySQL. phpMyAdmin is part of many hosting service panels and can be used for that.
- Find the wp_options table (or any other prefix specified during installation);
- Double-click the field you need to edit;
- Change the address in option_value (in the first two lines: home address and WordPress address, the same thing we mentioned earlier).
Change security protocol
If you are using a security protocol (SSL certificate), switch to the default protocol. Refresh the page and check if the redirect loop is gone.
If the message is still there, it means that your SSL certificate needs to be set up correctly before you can use it again (address remains as HTTPS).
Do not forget to consult expert support to return to the settings that ensure secure access for users. It’s also important to ensure higher reliability on your site.
It is very important to verify the .htaccess file whenever there is an error in WordPress. Files are part of the Apache server settings and are used to control page redirection. Therefore, any problem in the file can cause problems in the redirect routine.
To check if that’s the case, you need to redefine the .htaccess file:
- Search site files using an FTP client;
- Find the folder with the WP files;
- Find .htaccess;
- Download as a backup;
- Right-click on it and open the file for editing (never change the backup, only the original version);
- Delete the .htaccess content and reset the settings to default (you can easily find default settings on the internet);
- Save and upload default files to the webserver;
- Once you’ve done that, refresh the site.
If your site is fine after that, you should reconsider the .htaccess file; otherwise, you will have to restore the backup, as that file is not the source of the problem. Then, it is necessary to continue digging.
WordPress plugins can always be at the root of any problem. If you have a redirect plugin installed, start by disabling it.
If that solves the problem, you’re fine. Otherwise, you need to disable one by one to check which plugin is causing the loop.
It may take some time, but don’t panic! There is a quick and convenient way to do it automatically: first, disable all plugins once, before refreshing the page (don’t forget to back up the original .htaccess file as we discussed earlier).
If the loop still exists, reactivate all plugins and proceed to the next step. After refreshing the site, if you see the error is gone, you have no other choice but to test one by one.
If ERR_TOO_MANY_REDIRECTS prevents you from accessing the control panel, it may be necessary to manually deactivate all plugins. You can do this in an FTP client or file manager.
- Find the plugins folder, which is usually in the wp-content folder;
- Rename all folders;
- Or delete them all at once (never forget the backup).
ERR_TOO_MANY_REDIRECTS is an easy problem to solve, so you only need to ask for help if none of the steps work. If so, you can enable PHP error_reporting to go further in problem analysis.
We hope this guide helped point you to a quick solution. However, if these steps aren’t enough to fix the problem, contact your host’s administrator.
People who work there will know how to deal with redirect errors. They might even be the ones who caused it in the first place.
Don’t leave it for later. Try to get it done as soon as possible to ensure that your users will have the best experience on your site.
Speaking of user experience, did you know that you might lose leads if your page is slow? Use our Analyzer and see how you are performing and get free insights on how to improve!