Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
Website hosted in Plesk is not working with the following error in web browser:
ERR_TOO_MANY_REDIRECTS
-
Redirect checkers, like redirect-checker.org, show that the site is redirecting to the
www.subdomain and back again -
Running the following
curlcommand ends with errorcurl: (47) Maximum (50) redirects followed:# curl -IL http://example.com
...
...
HTTP/2 301
server: nginx
date: Fri, 12 Sep 2025 21:12:27 GMT
content-type: text/html; charset=iso-8859-1
location: http://www.example.com.com/
strict-transport-security: max-age=15768000; includeSubDomains
x-powered-by: PleskLin
curl: (47) Maximum (50) redirects followed
Cause
There is more than one redirect configured in the site, which results in a loop, sending traffic back and forth between the naked domain (example.com) and its www. subdomain (www.example.com).
This can happen if the redirection is already configured in .htaccess, in Apache & nginx settings, or in the web application's settings (e.g. WordPress, Joomla, Drupal, etc.).
Resolution
To fix the issue, one of the redirects has to be disabled. To disable the ones from Plesk, follow these steps:
-
Go to Domains > example.com > Hosting & DNS > Hosting
-
Change Preferred domain to "None" and press OK
Comments
Please sign in to leave a comment.