Why is my website showing as "Not Secure" in my browser

0 votes
Now that I have my site published, when I view it in my browser, it says that the site is not secure despite having an SSL certificate. Any pointers on that? Thanks.
related to an answer for: Where to upload website files in cPanel
asked Oct 19, 2018 in Shared Hosting by JonnyFever (140 points)

1 Answer

0 votes

Good Day

To resolve this problem, please go to cPanel-> File Manager-> public_html-> .htaccess

Paste the code below to the access file and save

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If you require further assistance, please 
send a message to our WhatsApp helpline: https://whatsapp.afrihost.com
or visit our Help Centre: https://help.afrihost.com/
or see our FAQ page: http://faq.afrihost.com

Thank you

answered Oct 23, 2018 by AfriClaire (26,810 points)