The ERR_TOO_MANY_REDIRECTS message could make the person really feel confused, however it’s solely a warning from the browser. It states that it’s not doable to attain the requested web page.
If you discover that message whereas making an attempt to load your web site, it signifies that all the web page or all the content material is unavailable for you and your customers.
Although it appears fairly severe, it’s not the top of the world: the error is not that tough to fix.
But you want to clear up it as quickly as doable to keep away from a foul expertise for guests. After all, in the event that they see that message on the display screen, they could surrender on you earlier than even understanding what you’re providing.
In this publish, we’re going to describe the explanations for that sort of subject on WordPress websites. Also, we’re going to handle the numerous steps required to fix it.
Here’s what you’re going to see:
What does the ERR_TOO_MANY_REDIRECTS imply?
That error is proven when the browser can’t set up a connection between the preliminary web page and the vacation spot web page in a redirect.
If you employ Google Chrome, the warning appears like this: “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.”
On Mozilla Firefox, you’ll get:
“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.”
On each of them, the message is crystal clear: the web page doesn’t load as a result of it has been redirected to a loop, or there was too many redirect requests.
Why does ERR_TOO_MANY_REDIRECTS error happen?
Redirects are both an environment friendly search engine optimisation technique or a software to permit customers to entry pages with a unique URL.
Let’s assume that you’ve a giant, related web site, however, for some motive, as an alternative of refreshing the content material, you’d fairly ship your person to a brand new web page, one which’s extra constant or has extra features.
It could be an inconvenience to ask the customer to click on once more or kind a unique URL within the handle bar.
When you employ redirects, folks can robotically entry the brand new web page whereas making an attempt to attain the outdated one. Even after having typed the mistaken handle, they get to the appropriate web page. That means a big enchancment in person expertise.
However, when there’s a misconfiguration, the browser can get confused and redirect the customer to different URLs or an unknown vacation spot.
When the browser doesn’t perceive or know which URL to use, it offers up looking for the appropriate URL to keep away from overload. That’s when the person will get the error message on the display screen.
In some particular instances, the browser even goes into an infinite redirection loop. That’s how it works: the outdated URL redirects to the brand new one, however due to the misconfiguration, the brand new URL redirects again to the outdated one.
Finally, the system offers up on making an attempt all this and shows the message: “ERR_TOO_MANY_REDIRECTS”.
How to clear up the ERR_TOO_MANY_REDIRECTS drawback?
If you aren’t the location admin, you solely want to clear the browser cache/cookies and refresh the web page. If that doesn’t work, you’ll have to contact the supervisor and wait till he fixes it.
However, in case you are the supervisor, you’ll have to strive a couple of issues. The error is normally a results of WordPress’s misconfiguration, as we beforehand talked about. Sometimes, it could be solved by one thing as straightforward as clearing cookies or cache.
That’s why we’re going to current to you some methods so you may eliminate that message. This means, you received’t let your guests down.
Clear the cookies and the cache
When that message pops out, some browsers counsel that the issue is perhaps the cookies.
That’s why we additionally suggest you to strive that even when you’re the location proprietor.
But how precisely do you clear cache and cookies? It’s easy. It solely takes a couple of minutes, though it differs relying on the browser you’re utilizing. Here are some particular directions:
- At the top-right, you will note three small dots. Click on it. Then, choose settings;
- Scroll down and click on on “Advanced”;
- Then you could have to click on on “Clear browsing history”;
- Next, choose “cache and cookies”;
- Select the time vary, which is how many cookies you need to delete based mostly on the interval (final 24 hours, seven days, 4 weeks);
- Then, click on on “Clear data”.
- Click on the three small dots on the right-top;
- Next, click on “Clear data”;
- Select the choice “Cookies and Cache”, and click on “Clear”.
Try refreshing your web site yet another time. If that technique doesn’t work, you’ll have to observe the following steps.
Clear the WordPress cache
If you employ a caching plugin (Super cache WP or different), the following try must be clearing the WP cache.
As every plugin works in a different way, it’s needed to examine the specs of the one you could have put in in your weblog.
You can Google the identify of the plugin for some information or ask help for assist. Then, you’ll obtain directions on how to clear the cache in your plugin settings particularly.
Then, once more, you want to refresh the web site to see if every thing’s OK. In case there’s nonetheless an error, you’re not there but. Keep studying.
Check the URL settings
It’s important to examine the URL settings as a result of a misconfiguration could cause redirect loops. Click on the “General” tab inside “Settings”.
There are two primary fields:
- WordPress URL (which specifies the place all WP information are);
- Site’s URL (the house web page handle that’s accessible for customers).
In most instances, these two addresses ought to match. Check it rigorously, so the variations don’t trigger additional issues.
None of them should include:
- whitespaces on the finish;
- www at first (as in http://www.example.com). Instead, it must be http://example.com.
If one URL comprises “www” and the opposite doesn’t, change them to allow them to be the identical: both each include it or none of them does. You may strive to insert PHP earlier than HTML.
In case you may’t entry the management panel to alter the URL, it’s nonetheless doable to do it by enhancing the wp-config file:
- Go to the file supervisor (FTP consumer);
- Open the folder along with your WordPress information;
- Find the wp-config.php;
- Right-click on “Edit URL”;
- Add these strains to the code (don’t neglect to change the URL);
- Redefine the handle and do not forget that each ought to match, residence and WordPress (‘WP_HOME’ and ‘WP_SITEURL’);
- Save the file;
- Click on “Yes” on command immediate to add the modified file;
- Refresh the location and examine if the issue has been solved.
If you’ll, you can even change the handle through the database. All it takes is a login onto the server by means of MySQL. The phpMyAdmin is a part of many internet hosting providers panels and can be utilized for that.
- Find the wp_options desk (or the opposite prefix outlined throughout set up);
- Double-click the fields you want to edit;
- Modify the handle in option_value (within the two first strains: residence web page handle and WordPress’ handle, the identical factor we talked about earlier than).
Change the safety protocol
If you employ a safety protocol (SSL certificates), swap it to a default protocol. Refresh the web page and examine if the redirect loop is gone.
If the message is nonetheless there, it signifies that your SSL certificates wants to be arrange correctly earlier than you employ it once more (the handle stays as https).
Don’t neglect to seek the advice of professional help to return to a setting that ensures entry safety for customers. That is additionally important to guarantee increased reliability in your web site.
Redefine the .htaccess
It’s necessary to confirm the .htaccess file each time there’s an error on WordPress. The file is a part of the Apache server settings and is used to management web page redirect. Therefore, any drawback within the file could cause points within the redirect routine.
To examine if that’s the case, you will want to redefine the .htaccess file:
- Locate the location information utilizing the FTP consumer;
- Find the folder with the WP information;
- Locate the .htaccess;
- Download it as a backup;
- Right-click on it and open the file for enhancing (by no means change the backup, solely the unique model);
- Clear the content material of the .htaccess and reset settings to default (you may simply discover the default setting on the web);
- Save and add the default file to the webserver;
- After you’ve completed that, refresh the location.
If your web site is OK after that, you’ll have to rethink the .htaccess file; if not, you’ll have to restore the backup, as a result of that file is not the supply of the issue. Then, it’s needed to maintain digging.
Check the plugins
WordPress plugins can at all times be the foundation of any drawback. If you could have any redirect plugin put in, begin by disabling them.
If that solves the problem, you’re good. If it doesn’t, you want to disable one after the other to examine which of these plugins brought on the loop.
That could take a very long time, however don’t panic! There’s a fast and handy means to do it robotically: first, disable all plugins as soon as, earlier than refreshing the web page (don’t neglect to backup the unique .htaccess file as we’ve beforehand mentioned).
If the loop is nonetheless there, allow all plugins once more and proceed to the following step. After having refreshed the location, when you see the error is gone, you’ll have no different selection however to check one after the other.
If ERR_TOO_MANY_REDIRECTS retains you from accessing the management panel, disabling all plugins manually could also be needed. You can do this within the FTP consumer or the file supervisor.
- Find the plugins folder, which is normally inside the wp-content folder;
- Rename all folders;
- Or take away them unexpectedly (always remember the backup).
ERR_TOO_MANY_REDIRECTS is a straightforward subject to clear up, so that you solely have to ask for assist if none of these steps work. If so, you may allow PHP error_reporting to go even additional on the issue evaluation.
We hope that this information helps lead you to a fast resolution. However, if these steps aren’t sufficient to fix the problem, contact your host supervisor.
People who work there’ll know how to clear up the redirect error. They may even be those who brought on it within the first place.
Don’t go away it for later. Try to have that solved as quickly as doable to be sure that your person may have the most effective expertise in your web site.
Talking about person expertise, do you know you may lose leads in case your web page is sluggish? Use our Analyzer and take a look at how’s your efficiency and get free insights on how to enhance it!