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

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

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

Addon Domains

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

What are the links to the control panel logins?

Your cPanel link will be as follows:http://yourdomain/cpanel/ If you are a reseller your WHM...