Err_Too_Many_Redirects is a confusing error, especially in WordPress. There are a lot of things that can cause this error and if I’d cover every single one of them this would be a book, not a post. Therefore I’m just gonna talk about the most frequent ones and ways how to fix the Err_Too_Many_Redirects Error in WordPress.
Check Error Log
Error log is a record of critical errors that are encountered by the application, operating system or server while in operation. If a plugin/theme caused this error message it’s all recorded in the error log along with the time of the incident.
If you see the error that was recorded at the time of the Err_Too_Many_Redirects error simply Google it and you should be able to find the solution.
If the error log states that the error happened inside a plugin or theme file, deactivate that plugin/theme and check if the error still occurs. If it doesn’t then it is the plugin/theme to blame and you should contact the author for support.
Deactivate All Plugins
In 70% of the cases when users contact us regarding Err_Too_Many_Redirects Error on their WordPress site, it turns out to be a plugin issue. And as we talked in this article, you should stay away from Nulled/Warez plugins and themes! With that said, I’m gonna show you a simple hack that we use, to determinate if Err_Too_Many_Redirects Error is caused by any plugin.
Simply login to cPanel and from the File Manager navigate to the wp-content folder, for example, if WordPress is installed on the root domain, the path is: public_html/wp-content/
Now simply rename the plugins folder to something else, for example plugins1
This will temporarily disable all plugins and the next thing to do will be to check the page that was showing the Err_Too_Many_Redirects error to see if it is still there. If the error is still occurring, then it is not a plugin issue.
NOTE: Please don’t forget to rename back the plugins folder to its original name once you are done.
Rewrite .htaccess file
.htaccess is a configuration file in Apache that is used for controlling the server settings, including redirect settings. A lot of things can add rules to the .htaccess file and this include WordPress plugins (Caching, Redirecting, Security, Writing..) but also the cPanel itself (It can add settings for the PHP modules).
To make sure that this didn’t cause the Err_Too_Many_Redirects error, you should remove everything in the .htaccess file that is not between #BEGIN WordPress and #END WordPress tags.
Check URL Settings
URL Settings are located under Settings > General from the wp-admin dashboard, and these two indicate the address of your WordPress files (WordPress Address) and the address from which the website is accessible (Site Address).
In most cases, these two addresses are the same, but in case you have migrated your website and not set the new domain or the SSL certificate properly, these may be different.
To check if it’s the URL setting that is causing this error, make sure this is properly set:
- Make sure they are both with/without the same prefix, if one uses www. make sure the other one uses it too.
- To check if it’s a problem with the certificate, simply change it from https:// to http://
Clear WordPress Cache
If you use any WordPress caching plugin such as AutoOptimize, Brisk, WP Rocket, etc. you should clear your WordPress cache. Read the documentation of the particular caching plugin you are using for instructions on how to clear the cache.
For WP Rocket simply select Clear Cache from the WP Rocket menu on the toolbar.
Clear Browser Cache
Clearing browser cache and cookies should be performed from time to time, and it may help you fix this issue. To clear your browser cache simply navigate to your Browser Settings and look for an option to delete the cache.
For detailed instructions on how to delete cookies in any browser (Chrome, Opera, Firefox..) I suggest this guides from Indiana University.
Contact Hosting Provider
If none of the above steps fixes the Err_Too_Many_Redirects error, you should contact your web host. They can identify and solve the problem for you if it is from their end.