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

Addon Domains

All accounts can host more than one domain (Domain pointing to sub-domains). You can add a...

Do you support FrontPage?

No we no longer support Frontpage extensions.

Do you perform backups of my site?

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

Can I upgrade or downgrade between package plans?

Yes you can upgrade or downgrade at any time, there are no additional fees to do this.When you...

Free Let's Encrypt SSL Certificates

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