This guide will explain how to enable HTTPS on your website. For customers using LCN web hosting.

Please note: these instructions don’t apply to websites running WordPress or other content management systems – A guide for WordPress can be found here.

Let’s get started…

Enabling HTTPS using .htaccess

You can configure your site to use HTTPS by using a .htaccess file – for further information on .htaccess files see our guide here.

Enabling HTTPS for all pages within your site

  • Create a file using a text editor such as Notepad.
  • Save the file as: .htaccess (without any additional file extensions).
  • Enter the following lines of text within the file:

  • RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    

  • Save the file and upload it to the web folder of your site.
  • Please note: instructions on uploading the file to your website can be found here.


Enabling HTTPS for a specific folder within your site

Need a hand? Search over a hundred step-by-step support guides