Forcing a secure or https connection to your site Print

  • 138

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. 

  1. Head to Domains under the Domains section
  2. 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: 

  1. Head to File manager under the Files tab or search using the top bar.
  2. Head into the public_html folder in your folders
  3. Click Settings on the top right and make sure “Show Hidden Files” is ticked to show your .htaccess file.
  4. Once the .htaccess file is visible, right click on the file and select “Edit”
  5. 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  
  6. 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! 

Was this answer helpful?

« Back