Knowledge Base

I have an SSL certificate, but my site is still on HTTP instead of HTTPS. Why?

I have an SSL certificate, but my site is still on HTTP instead of HTTPS. Why?

First, verify that SSL is correctly installed in cPanel: go to “SSL/TLS” > “Manage SSL Sites” and paste the certificate (CRT), private key (KEY), and CA bundle (CABUNDLE) into their respective fields. Then add the following code to your .htaccess file: ```perl RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ``` This will redirect all HTTP traffic to HTTPS.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?

6 times viewed | 0 people fount it helpful

Top