1. Home
  2. Security
  3. Redirect HTTP to HTTPS

Redirect HTTP to HTTPS

If you’re not service your website over https, you really should be.  We do it with all our websites, as do Google, Facebook, Twitter, Instagram etc.

We provide free SSL certificates with all our hosting accounts as standard, and they are automatically installed and renewed for you.  You can test this by visiting your website – and then in the address bar change http to https.

You’ll then see the padlock symbol next to the address.

To have visitors to your website always forwarded to the https version, you can add a redirect in your control panel.

Step 1 – Access File Manager

Click the File Manager option.

File

Go to the ‘public_html’ directory.

If you you don’t have a file called ‘.htaccess’ click ‘+ File’ and type ‘.htaccess’

Step 2 – Edit .htaccess

Click the file named ‘.htaccess’ and click ‘Edit’

On the window that pops up, click ‘Edit’

Copy and paste the 3 lines below into the editor that opens up.

# Redirect to HTTPS
rewriteCond %{HTTPS} !on
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Step 3 – Save Changes

Now click ‘Save Changes’

Your site should now automatically redirect all visitors to the https secured version, and display the padlock symbol in the browser.

Updated on 14th January 2019

Was this article helpful?

Related Articles