I have successfully installed the SSL Certificate to my moviespemasti.in website. But still when i open my website, it shows ‘Not secure’. I use ‘SSL Certificate’ section of infinityfree website to generate SSL certificate. Please help.
Yes I can confirm that you’ve already installed your SSL certificate but you still need to force all traffic in using the https:// secure connection protocol.
Insert this code/rule into your .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Please make sure that you do not mix this code into your existing codes/rules found in your .htaccess file, just put it at the most bottom and make sure to seperate it from the rest of the code that can be found in your .htaccess or else your site will generate an HTTP error 500.
And also make sure the .htaccess file you are editing is the htaccess file found in the /htdocsfolder, make sure that you’re in the /htdocs folder to make changes with your .htaccess file.