The ERR_TOO_MANY_REDIRECTS error occurs when the browser is redirected to a different URL, which in turn points back to the original one, creating a redirection loop. There are number of places where redirects are set which may clash with one another and cause a redirect loop. When encountering this error, we would recommend that you try changing the following redirect settings, please remember to test your site in incognito / private browser mode after each change, this is to bypass your browser cache, once the error no longer occurs in incognito mode, you will need to clear your browser cache as the redirect loop will be cached by your browser.
- Try setting "Preferred domain" to none in Plesk, the "Preferred domain" can either be set to domainname.co.uk, www.domainname.co.uk or none, when set to domainname.co.uk or www.domainname.co.uk all requests are 301 redirected to the chosen setting, by changing this setting to none, the redirect is disabled.
To locate the "Preferred domain" setting, please login to Plesk, locate the domain that you are troubleshooting, go to "Hosting Settings", select "none" under "Preferred Domain" and hit "Apply" to save the changes.
-
Try disabling the "Permanent SEO-safe 301 redirect from HTTP to HTTPS", to do so, please login to Plesk, locate the domain that you are troubleshooting, go to "Hosting Settings" and unselect the checkbox next to "Permanent SEO-safe 301 redirect from HTTP to HTTPS" and hit "Apply" to save the changes.
-
Check that both the "siteurl" and "home" database values in the <dbprefix>options table are set to the same URL, if they differ it can cause a redirect look and "TOO Many redirects" error, to check the values, please login to Plesk, go to Databases, locate the domain that you wish to check and go to PHPMyAdmin, open the <dbprefix>_options table, the Database prefix is different for each WordPress installation, but is a set of random letters and numbers as part of the table names, this is more secure that the standard setting of "wp " as the database prefix. Once you have opened the options table, check "siteurl" and "home", if you need to edit either, double-click the field, make any required modifications and hit enter to save the change.
-
Try disabling your .htaccess file, to do so, login to Plesk, locate the domain you are troubleshooting, select the link "website at domainname" to open the document root directory for the domain name, locate the .htaccess file, scroll the bottom navigation bar to the right to locate the drop-down options for each file, select the drop-down menu and go to Rename, try renaming .htaccess to htaccess-disabled.
-
Try resetting your .htaccess file, to do so, login to Plesk, locate the domain you are troubleshooting, select the link "website at domainname" to open the document root directory for the domain name, locate the .htaccess file, and click on the filename to edit the file, try overwriting the current .htaccess code with the standard .htaccess code provided on the URL below:
https://wordpress.org/support/article/htaccess/
Please remember to test your site using Private browsing mode / incognito after each change, then clear your browser cache or hard refresh the page displaying the error if you have fixed the issue.
If you have tried the above steps and are still experiencing the "Too many redirects" error, please let us which steps you have tried and we will happily investigate further for you.