SSL: Force traffic from http to https Print

  • 1

In this guide we will show you two ways to force traffic from http to https (secure connection).

Before you do this change, make sure your domain is setup with https/ssl for this to work. You can follow this guide to get a free SSL certificate for your domain.

  1. With .htaccess rewrite rules:

    1. You need to create or edit the file .htaccess located in your public_html directory. Add the following lines to the file:

      # Force https with rewrite
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    2. Save or upload the file and all traffic will now be forced to use https.

  2. From the client area:

    1. Log in to the client area with your details. If you have forgotten the password use the "Reset Password" link.

    2. Click on the "Services" button:
    3. Click on the green "Active" button behind the service you like to change:

    4. Scroll down on the page and click "Addon Domains":

    5.  Click on the "edit" button behind your domain name:

    6. Change the "Force SSL with https redirect" to be switched on and click the "Change" button:

    7. All done.

Do not hesitate to contact us if you have any questions.

Was this answer helpful?

« Back