Symptoms

When trying to open a website example.com in a browser, the following error is shown:

ERR_TOO_MANY_REDIRECTS

Sometimes error starts occurring after enabling Google PageSpeed.

Redirect checkers like redirect-checker.org shows that example.com is redirecting to www.example.com and back again.

Preferred domain value is set to example.com or www.example.com at Plesk > Domains > example.com > Hosting Settings.

Cause
Redundant redirects which lead to infinite redirect loop.

Resolution
Such issue can occur if redirect is already configured in .htaccess file, in Apache &Nginx Settings or in web application (e.g. WordPress, Joomla) settings.

To fix the issue it is required to disable redirects in Plesk:

Log in to Plesk.

Navigate to Domains > example.com > Hosting Settings.

Change Preferred domain value to None and click OK:

Remove redirect rules under Domains > example.com > Apache & Nginx Settings, if any.

Remove redirect rules in the .htaccess file like the following:

Redirect 301 /index.html http://www.example.com/
Was this article helpful?
Cancel
Thank you!