How to Force SSL

You just installed SSL and you cannot find the secured padlock and HTTPS in front of your domain.
In fact, your domain still loads with HTTP and the insecured icon is indicating to visitors to beware of your site. Not to worry, this might be due to some insecured links on your website and you need to manually force SSL on your site.

You need to confirm you have the SSL installed on your site, to do this,visit sslshopper.com to confirm SSL has been installed, then proceed to check why it is not secured with a padlock on the browser using https://www.whynopadlock.com/

Simply type in the full URL into the box below and get a report about your website SSL to know if it is fully installed.
Click More Info in front of Force HTTPS, copy and save the code in your notepad as you need to save this code in your .htaccess in your cPanel.

Go to File Manager in your hosting panel
Inside the public_html folder.,open .htaccess If you can’t locate it, make sure to create or unhide it.
Scroll down to find RewriteEngine On and insert the following lines of code below it:

RewriteEngine On
RewriteCond %{HTTP_HOST} verpex.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://verpex.com/$1 [R,L]

Save the changes.

Go back to your browser, refresh the page to view your site, you can also refresh your information on https://www.whynopadlock.com/