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

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...

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...

What are your DNS servers? (NameServers)

Our DNS (Nameservers) are as follows:   DNS1.SHNW.NET DNS2.SHNW.NET All of your...

Addon Domains

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

Do you perform backups of my site?

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