we love the web
Home Domain Names Web Hosting Plans Email Hosting Plans Support Contact Us

Portal Home > Knowledge Base > Getting Your Site Online > Forcing all website traffic to use HTTPS

Forcing all website traffic to use HTTPS

We are now able to provide free SSL certificates.  This strengthens your site's login services, and also helps your ranking in some search engines.

In order to force all web traffic to use HTTPS, use the following code in your .htaccess file. If you are hosting multiple websites on your account, it is possible to have an .htaccess file for each website. Make sure that you are editing the .htaccess file that is in the root folder (public_html) where you want the re-direct to occur.

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

Be sure to replace www.yourdomain.com with your actual domain name.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read