• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Plesk 8.6.0 Force https

M

meisi

Guest
Hey guys. I have a valid SSL certificate installed and have checked the box to share httpdocs and httpsdocs. Everything works correctly when people visit https://mydomain.com, but I was wondering what the best way to require ssl is in this version of plesk.
 
You should be able to do this with an .htaccess rule in your site root.

Something like

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mydomain.com/$1 [R,L]

that should take anyone who uses port 80 (non-SSL) to the equivalent page on the HTTPS site I think.

HTH
 
Back
Top