How to force SSL (HTTPS)

If you wish to force your entire website to go through https, you can add these rules to your .htaccess file. (You can access your .htaccess file with a FTP or with the File Manager).

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

If your site is in a subfolder, use this code: 

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} folder
RewriteRule ^(.*)$$1 [R,L]

Replace with your domain name and it will work!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is an SSL certificate?

The Secure Sockets Layer (SSL) is a commonly-used protocol for managing the...

Add and install a SSL certificate

NOTE: If you bought your SSL certificate with Fast Hive, you do not need to perform any...

Retrieving a copy of your SSL certificate

1. To retrieve a copy of your SSL, log into your account and click on Service. Choose the SSL...

Let's Encrypt SSL Certificate Installation

Requirements Your site, domain and subdomains must point to your hosting account. Installing...

SSL Certificate Installation in WHM

1. Log into your WHM control panel and locate the SSL/TLS section. 2. Select Install an SSL...

Powering Innovation

Have questions? Need help?

Call our award-winning support team 24/7 at +40 (0) 373 780 878