ERR_TOO_MANY_REDIRECTS is often seen in WordPress sites. It is one of the most common error. This issue is likely to occur due to server misconfiguration or plugins redirect function or due to incorrect WordPress settings.
In this guide, you learn about the possible causes and the steps to fix this issue.
Prerequisites
- Domain name (example.com)
- Admin Dashboard Credentials
- cPanel Credentials
- FTP client
- Text Editor (Sublime Text, Notepad)
Step 1:
There are several factors that are likely to cause this issue.
This can sometimes fix the issue. Then clear the cache from the WordPress admin page.
You can also clear the CDN cache or disable it temporary to check if it works for you or not. If this is not working you can try another method to fix it.
Step 2:
In the WordPress Address and Site Address, check if the information is correct or not.
Your URL will look something like ‘http://www.example.com’.
Sometimes, your URL might be configured without the www prefix. In that case, enter ‘http://example.com’ and Save the settings and try opening your site.
If you are not able to access your WordPress admin page, you can also update the URL settings by making some changes in the wp-config.php file. The wp-config.php file is located in the root directory of your WordPress website inside the /home/user/public_html/wp-config.php
Edit the file and add the following lines to it.
define('WP_HOME','http://www.example.com'); define('WP_SITEURL','http://www.example.com');
Step 3:
If you are using an Apache server,
in the root directory of your WordPress site. Open your cPanel and locate File Manager and open it.
Step 4:
Inside the File Manager,
from the right section.
Right click the .htaccess file and click Edit. Now you need to make some changes in your file. Search for the Rewrite keyword and make the changes.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngineOn RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond%{REQUEST_FILENAME} !-f RewriteCond%{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Step 5:
These above step should probably solve the ERR_TOO_MANY_REDIRECTS issue. If it still exists,
. If the site starts working after disabling the plugins, try to find out the culprit plugin and solve your issue.
Conclusion:
If you followed the above steps clearly, you should now be able to fix the ERR_TOO_MANY_REDIRECTS issue and save your WordPress site from an endless loop.
Check out these top 3 WordPress hosting services:
- Click here to get the best wordpress hosting specialized for wordpress.