• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Reduce redirects for landing page

mow

Silver Pleskian
At the moment, with preferred domain set to www.domain and Permanent SEO-safe 301 redirect from HTTP to HTTPS switched on, Plesk redirects

http://domain -> https://domain -> https://www.domain

The middle step is completely unnecessary, and the redirect should use

http://domain -> https://www.domain

This could be done with a
rewrite ^(.*)$ https://www.domain$1 permanent;
like what Plesk uses when only preferred domain is active, instead of the
return 301 https://$host$request_uri;
Plesk uses when the http->https redirect is activated.
 
Back
Top