VimlyHost

Contact Us

How can I force SSL on my website?

This knowledgebase is no longer up to date, please visit our new knowledgebase here for the most up to date information.

Yes. To do this you need to create a file called .htaccess in your domains directory, then insert the following code;

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

If you already have a .htaccess file, paste the code at the very start and make sure that you don't repeat the first line.


Powered by HelpSite