After installing an SSL certificate, you should ensure that all visitors access your website securely via HTTPS. Plesk provides several options to enforce HTTPS, including permanent redirects from HTTP to HTTPS and a security header that tells browsers to always use HTTPS.
Enabling Permanent HTTPS Redirect
- Log in to Plesk.
- Go to Websites & Domains → click your domain.
- Go to Hosting & DNS → Hosting Settings.
- Find Permanent SEO-safe 301 redirect from HTTP to HTTPS.
- Check the box to enable it.
- Click OK.
Now all visitors who type http://yourdomain.com will be automatically redirected to https://yourdomain.com.
Enabling HSTS (HTTP Strict Transport Security)
HSTS tells browsers to always connect to your site via HTTPS, even if the user types http://:
- Go to Websites & Domains → click your domain.
- Go to Hosting & DNS → Hosting Settings.
- Find Enable HSTS.
- Check the box to enable it.
- Click OK.
Warning: Once HSTS is enabled, browsers will refuse to connect to your site via HTTP for the duration of the header. If you need to disable SSL temporarily, you may lock visitors out. Use with caution.
Setting HTTPS as Default in Plesk
- Go to Websites & Domains → click your domain.
- Go to Hosting & DNS → Hosting Settings.
- Under SSL/TLS support, select Redirect from HTTP to HTTPS (if available).
- Click OK.
Important Notes
- The 301 redirect is SEO-safe — search engines will update their index to use HTTPS.
- Ensure your SSL certificate is properly installed and covers all subdomains before enabling permanent redirects.
- After enabling HSTS, submit your site to the HSTS Preload List (
hstspreload.org) for maximum security.
Troubleshooting
Redirect loop (infinite redirect):
- This can happen if you have conflicting redirect rules. Check your Apache & nginx Settings for custom redirect directives.
- Clear the redirect setting, save, then re-enable it.
Some pages load without HTTPS:
- Check for mixed content — your pages may be loading resources (images, scripts) over HTTP. Use your browser developer tools to identify mixed content.