Often you have seen your website is down. On the other hand, your browser shows the error “too_many_redirects.” Do you ever think about why WordPress Too Many Redirects happens? This kind of problem may arise due to external sources. WordPress is writing as core programming that is quite solid.
These external sources can be anything ranging from plugins to themes. Mainly incompatible plugins and themes create a mess. Due to this incompatibility, too many redirects arise. As a result, the functioning of the WordPress website disturbed.
For fixing these kinds of issues, make sure that you have adjusted URL settings for your website. Self-hosted sites give you many advantages, but it creates an issue for you sometimes. These issues are irritating for beginners. In this article, we discuss how to fix the error_too_ many_redirects issue in WordPress. First, we need to discuss what is WordPress Too Many Redirects Error?
What exactly is err_too_many_redirects error?
Err_too_many_redirects error is the problem of a redirection issue. Here the redirection issue is the forwarding of an infinite loop. It mainly occurs when a browser is not able to get connected to your website server.
What browser does, it regularly tries to find out the location of the website after that loop of redirect happens.
What is the Reason Behind This Error?
- There are corrupt plugins.
- Themes are misleading.
- The problem in HTTPS settings.
- Expired SSL certificate.
This problem mainly persists due to the URL setting that configured to an incorrect web address.
How to Fix err_too_many_redirects?
These are the ways which help you in resolving the err_too_many_redirects problem:
Deletion of browsing data
For avoiding err_too_many_redirects problem, it is better to delete browsing data. Sometimes browsing data has corrupted information in it. It possesses an old cache. Cookies are sometimes corrupt. It is better if you discard or delete the history of browsing of data from your device.
Follow the steps of deleting the browsing history for chrome.
1. Look at the upper right menu on chrome tab, Click first on small three dots
2. Click on the settings button
3. Now you can see Advanced tab, now click on clear browsing data
Figure 1 Clear browsing data option
Figure 2 Clear data
For internet explorer
● Open internet explorer.
● At the topmost right corner there is the option of Safety, click on it. You see the delete browsing history option. Now you need to click on it. The following details open up.
● Click on delete; the entire history deleted.
Examine your URL settings
URL settings can be checkout in two ways- either you can examine it manually or by using using the admin dashboard of WordPress.
A:- Modify URL settings via the Administrator dashboard. If you are by whatsoever, reasons can log in to your WordPress dashboard. Then you can follow up these steps to examine and modify URL settings from the admin area.
A: Open your WordPress dashboard
B: Move to the settings tab.
C: You can check your WordPress address URL as well as site URL in the general settings page
D: Don’t forget to check the URL configuration. It means to check if the URL is configured correctly or not.
E: In case if you have made any changes, please save the changes.
B:- Modifying URL settings in a manual way. Sometimes, you are not able to enter into the admin area of WordPress. In that case, you simply can modify the settings of the URL with the help of the wp-config.php file. For this, you need to do editing via FTP client(FileZilla) or File manager.
What can you do is?
Firstly, make a connection to your website with the help of an FTP client.
After finding wp-config.php in the parent directory, simply download and then edit by the following code
Make sure this is a demo example; you have to add your website URL in place of the Demo. Lastly, you need to save the file. After saving, you are ready to upload it to your server.
Now you are ready to access your website. If again the problem persists, then you need to check the following ways of fixing it.
Deletion of WordPress Cache
WordPress Cache also creates problems sometimes. It is better to delete that. Follow the steps of deleting the WordPress cache.
A. Login to your WordPress website
B. You see plugins option there
C. Click on Add New
D. Now you need to search for WP fastest cache
E. Click on Install Now
F. And click on Activate for setting up the plugin.
G. You find these option under settings
H. Now click on delete cache tab
I. This deletes the WordPress cache.
Disable faulty plugins
Not only browsing history creates a problem. Sometimes the issue occurs due to faulty plugins of WordPress. The reason might be that plugins are outdated or corrupted.
- Configure FileZilla Client
- After login, choose Remote Site
- Select wp_content and find the plugins folder
- Now right-click on it to rename to plugins_disabled
- Access your website now
- f you can’t see any error message, then you get to know some plugins are corrupt.
- Now you can rename the plugin folder from plugins_disabled to Plugins.
- One by one now remove the plugins, and consequently, you see the faulty one.
Disable .htaccess file
If there is a fault in .htaccess file, it can also make your WordPress website hold err_too_many_redirects problem. For getting rid of this problem, you need to disable .htaccess file. Follow these steps:
1. Open hosting control panel
2. Access the file manager
3. Find the location of .htaccess file
4. Now right-click for renaming the file.
5. You can rename it to .htaccess_disabled.
6 Are you ready to check if your website is loading properly or not?
7 If the problem sorts out, it is good, and you have to again rename the file from .htaccess_Disabled to .htaccess.
In this article, we have read about err_too_many_redirects problem and ways of fixing WordPress too many Redirects problem. If you have any doubt, feel free to ask me in the comment box.