Frequently Asked Questions

Answers to all most common questions about hosting and your account.

How to redirect all visitors to HTTPS

In order to redirect all traffic to HTTPS, you will need to add these lines to your .htaccess file:

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]

IMPORTANT! If the line 'RewriteEngine On' already exists in your .htaccess file, do NOT duplicate it.

If you are using CloudFlare, then HTTPS requests may be received by the server in plain text, this causing issues. For HTTPS redirection to work successfully with CloudFlare, use this code:

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteCond %{HTTP:X-Forwarded-Proto} !https

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Once again, do not duplicate 'RewriteEngine On' if it already exists.

After implementing one of these codes, all visitors will be automatically redirected to HTTPS version of your website.

P.S. Kindly note that you will need to have an SSL certificate installed in order for the HTTPS redirection to work.