Too Many Redirects error - WordPress

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.

  1. 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix FTP connection problems

The problem you may be having is in getting your FTP application to connect to your web space.We...

How to upgrade from Plesk 9 to Plesk 11

If your web hosting service is a Plesk 9 account and you wish to upgrade to Plesk 11 then do not...

Getting BadMailFrom Error: Cannot Send Email

Re: BadMailFrom Spam TriggerIf you are getting BadMailFrom message when trying to send email then...

Email - Configuring Thunderbird

Thunderbird is free email software for Mac OS X and Windows.This walkthrough will show you how to...

Email - Configuring Outlook

How to setup a POP / IMAP account in Outlook:1. Open Microsoft Outlook™2. Choose Tools from the...