Having a self-hosted blog has a lot to offer but how often do you face redirects errors in WordPress.
As a result, your WordPress site goes down and your browser responds to infinite redirects errors in your site.
Such an enigmatic error can leave you scratching your head but what if we tell you there’s a fix to it.
A few popular WordPress errors such as the white screen of death, internal server error can be really tiring for the beginners.
However, the most sickening errors faced by users are “Too many Redirect” that leaves WordPress users in utter disgust.
It is common that users face these types of errors in WordPress.
In this article, we’ll look for a steady fix on the ERR_TOO_MANY-REDIRECTS on your WordPress site.
Let’s look at how the error code will show up in Firefox.
Why WordPress users face too many redirects errors in WordPress?
The redirects errors are due to the misconfigured redirection. The WordPress comprised of an SEO friendly URL structure followed by the redirect function.
Although redirection plugins are also responsible for the redirection functionality.
For instance, the WordPress SEO plugin will attempt to remove the category base from the category URL by redirecting visitors to a (user-specified) URL without the category base.
This happens because of the misconfiguration from redirection plugin used in the WordPress site.
Hence, your site would go into an infinite loop by redirecting users to the URL i.e. actually redirecting them back to the same URL.
This is when you see the ERR_TOO_MANY-REDIRECTS as because the browser moves in-between the two pages of a URL.
Anyways, a lot of different type of errors can happen on a regular basis. Even a recent change in the WordPress site can end up misconfigure of redirects on the server via 3rd party services or wrong settings. Read the entire article to know the recommendations we have put through to make the fix which is a fairly easy job for you.
What is actually the ERR_TOO_MANY_REDIRECTS Error?
Let’s elaborate the particular issue faced by WordPress users over time. The reason why WordPress users see ERR_TOO_MANY_REDIRECTS is when a website goes into an infinite redirection loop.
It happens when a site gets stuck in-between URL 1 and URL 2 and URL 2 sends back to URL 1, as when the domain is sending too many requests. Unlike other issues in WordPress, these errors do not fix by themselves. And will probably need user attention.
There are many possible reasons other than what we have shown above such as the errors on your web browser you’re running.
Error in Google Chrome
The above screenshot shows that the domain isn’t working or redirecting too many times whichever is applicable.
Error in Firefox
The above screenshot in Firefox depicts the page isn’t redirecting the URL addresses.
How we have made a fix to ERR_TOO_MANY_REDIRECTS in WordPress?
There are few ways through which a WordPress user can effortlessly make a fix to the “ERR_TOO_MANY_REDIRECTS” such as:
Delete cookies on that specific site
Google and Mozilla both recommend clearing the cookies. As because the cookie may contain some faulty codes which are usually showed up in error form. This technique is beneficial due to the fact that the cookies remain active for the last logged in session on your WordPress site. Therefore, deleting the cookies can solve the issue right away.
Follow the below step-by-step method to delete the cookie from the Google Chrome web browser.
Step 1Open Google chrome > Go to the setting by clicking the 3 dots in the upper right-hand corner.
Step 2 Find the “Advanced” tab
Step 3Click on “Content settings”
Step 4 Click on cookies
Step 5 Now click on “See all cookies and site data”
Step 6 Search the domain name for which you come across the specific problem such as ERR_TOO_MANY_REDIRECTS error. You can erase the cookies stored in your PC for the specific domain. And try to visit the URL again.
Why there is a need for server cache, clearing proxy & browser cache?
It’s is extremely important for the user to clear the cache due to the fact that redirects loops responses will create a bad experience for the user. however, you can delete cache on your WordPress site, on the server and 3rd party proxy services.
Clear the WordPress site cache
There can be various issues persisting with the redirects loop. just log in to the WordPress site. In case you are using a cache plugin in your WordPress site. You can easily delete cache from the cache plugin setting.
Clear server cache
An alternate way to clear the cache is from the server. Most of the WordPress hosting comes with full-fledged control panel and tools within. There you get the option to clear the cache on your WordPress site.
Clear proxy cache
If you are used to 3rd party reverse proxy services, for instance, CloudFlare has an option in it. It is recommended to clear cache from respective proxy services you use.
In regard to clear cache from CloudFlare. Login to dashboard and use the option to “Caching” to purge all data.
The purge option is located in the dashboard of the Sucuri panel. Go to the “Performance” tab and click on “Clear cache”.
How to Clear browser cache?
Ensure if it may be your browser cache before actually clearing the cache, you can open a new tab in incognito mode to test if the problem is still persisting or it had disappeared now.
To do so you can refer to below screenshot.
If you come to know that it is caused due to the browser cache you can clear it right away.
How to determine the nature of the Redirect Loop?
Assuming you have followed the above steps correctly but if it did not solve the issue. Then consider using a free online Redirect checker tool that will throw some insights to further analyze what might have gone wrong. This can be done through the cURL.
For instance, the below the screenshot explains about having 301 redirect that loop back repeatedly which caused a large chain of faulty redirects.
You can try all the redirects to determine if it’s the issues persists.
You can even use the Redirect Path chrome extension which is useful in providing insights into all the redirects happening on the site or specific URL.
A lot of time we have seen redirect issues due to the HTTP settings mostly when they have migrated their site to WordPress HTTPS site.
Don’t force HTTPS without an SSL certificate
The usual problem most website owners is likely to see often. People force their WordPress site (Unsecured) to load over HTTPS without actually having an SSL certificate.
Basically, it puts the site into a redirection loop.
To make a fix to it we recommend installing an SSL certificate to your WordPress site.
It is also suggested to run the test for SSL. SSL/TLS certificates are not required in the process also it is used to check the installation of the SSL properly.
Don’t use an SSL plugin or update the hard-coded links
Most of us know about different SSL WordPress plugin available for users in the WordPress repository. Among them “Really Simple SSL” plugin is the most popular among website owners that automatically create the redirects to HTTPS.
However, we do not recommend using this method.in order to fix the issues caused using a 3rd party plugin will always have a few layers of issues starting with compatibility issues.
Check for 3rd party services
ERR_TOO_MANY_REDIRECTS are often caused due to common reverse-proxy services from the Cloudflare. This is due to the “Flexible SSL” option gets enabled and you already have the SSL installed in your WordPress website.
The Flexible SSL option makes all the request over the standard HTTP. Your host might cause a problem due to this and end up in redirect loop errors.
To make a fixed visit Cloudflare Crypto setting from the Flexible to either Full or Full (strict).
Temporarily disable WordPress Plugin
Disabling WordPress plugin can help you find the right spot for your existing issues. For instance, Redirection or Yoast SEO plugin has the option to implement redirects.
Sometime the plugin will create conflicts with the redirects with the redirection setting set on your server causes a redirect loop.
You won’t lose any data upon disabling WordPress plugin, but you may not be able to gain access to the WordPress plugin.
Therefore, you need to login via SFTP to your server rename the plugin folder with a different name such as plugins_old and then please check your site again.
If you see them working you need to test each plugin individually one by one. Rename your plugin folder back to “plugins” and rename them each individually.
How to fix too many redirects errors in WordPress?
The most common issue faced by WordPress users is due to the misconfiguration when a user enters incorrect URL in WordPress addresses URL or site address URL settings.
Every web hosts offer you the option to choose whether you would like to add a WWW prefix to your domain name or do not want a prefix to be added.
In case you choose to select WWW to your URL, then adding WWW in WordPress settings will most likely to cause this error.
If the WordPress site is working normally then you might need to contact the web host to alter few settings for proper setting configuration.
However, if your web hosting company is not reliable enough then, they might decline the offer or refuse help then you should consider switching the web hosts ASAP.
Or you may like to fix the error by yourself to make a fix you need to change your WordPress address and site address.
To do that Go to settings > General to change the WordPress site address. If you have a prefix, then change it to non-www URL or If you do not have a URL with WWW then consider adding WWW prefix.
How to change site URL without having access to the Admin area?
To make a fix on ERR_TOO_MANY-REDIRECTS you do not need access to the Admin area. However, you can find the updated settings in the wp-config.php file.
You may need an FTP client that usually connects with your website. Once done, you can find the required file (wp-config.php) in the site’s root directory.
You may need to download the file and edit using a text editor such as notepad. Upon opening the wp-config.php file add below two lines by replacing the domain name with http://example.com.
save the file and upload it back to the web server location. Now try to access the WordPress site if can’t then try adding www prefix before the domain.
The bottom line
In all the steps shown above it is most likely to solve the persisting issue with the redirects error on your site.
If the above steps did not solve your problem then it is possible that there is a plugin issue with your site.
First, you need to find out the actual cause to it.
- Did you activate a new plugin recently?
- Did you update any of the plugins right before the problem occurred?
If Yes, then you can simply disable the plugin from deleting the plugin folder from WP-content/plugins/.
Fixing too many redirect issues in WordPress can be a little hard to track down. Hopefully, we have curated a list of troubleshooting method in the post to help you with ERR_TOO_MANY_REDIRECTS error.
These are a few possible solutions we can make to fix the “ERR_TOO_MANY_REDIRECTS” issue in WordPress.
Did any of the problem fix because of the post? If so, please consider sharing the post on social network or with someone you know facing the ERR_TOO_MANY_REDIRECTS issue.