-
How to Install an SSL Certificate
Guide:- Go to cPanel > SSL/TLS.
- Choose Install and Manage SSL and upload the certificate files.
- Click Install to apply the certificate.
-
How to Force HTTPS on Your Website
Guide:- Add the following code to your
.htaccess
file:RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- Save the file to redirect all traffic to HTTPS.
- Add the following code to your
