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/

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Cpanel Hosting Overview

What is cPanel cPanel is a popular Linux hosting control panel that is used by many hosting...

SSL Certificates

How to Install AutoSSL certificate in cPanel Suggest Edits An SSL...

How to Remove SSL From cPanel

How to Uninstall SSL Suggest Edits All sites/domains hosted by Verpex...

Managing Domains in cPanel

How to Manage domains in cPanel Suggest Edits There’s a newer section...

How Long Does DNS Take to Propagate

In order to fully start working, name server changes typically take up from 24 to 48 hours. This...