If your SSL is not forcing a secure or “HTTPS” connection you can use these steps to get that secured.
First you will need to log into your cPanel service.
- Head to Domains under the Domains section
- Click the toggle to on under “Force HTTPS” redirect
Note: this change may take 2-5 minutes to take effect.
Alternatively you can directly edit the .htaccess file for your site by following these steps:
- Head to File manager under the Files tab or search using the top bar.
- Head into the public_html folder in your folders
- Click Settings on the top right and make sure “Show Hidden Files” is ticked to show your .htaccess file.
- Once the .htaccess file is visible, right click on the file and select “Edit”
- Enter the following into the file:
# START Force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# END Force HTTPS - Click Save changes on the top right to apply the change.
If you run into any issues getting your site to force a secure connection, you can look at this guide to further troubleshoot any SSL issues you may be facing or you can get in touch with us via a ticket or over LiveChat and we will be happy to Help!