Direct All Traffic to https

Once you have tested your site out with https://www.mydomain.com (replace mydomain.com with your own domain), you can redirect all of your traffic to https but adding the following to your .htaccess file located in the public_html directory.

If you don't have an .htaccess file you can create one, if you do have one simply add the following lines:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Now everybody that visits your site from a non https link will be redirected to the https version of that page.

If you are not sure how to do this, open a support ticket and we will be happy to place these lines in your .htaccess file for you.

Was this answer helpful?

 Print this Article

Also Read

Do you perform backups of my site?

We do perform daily backups of your site and store nightly and weekly backups for your...

Do you support FrontPage?

No we no longer support Frontpage extensions.

How do I use the server's shared SSL?

You can use our shared SSL to perform secured transaction with your website. Each of our servers...

Free Let's Encrypt SSL Certificates

Every shared hosting customer has a free Let's Encrypt SSL Certificate if they do not already...

What is the difference between a reseller account and a normal account with addon features?

An addon account allows pointing of a domain to a sub-domain. It will create a seperate FTP login...