Force SSL on my website

You can enforce SSL on your website by adding this to your .htacess

<IfModule mod_headers.c>
#Redirect http zu https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Which nameserver i have to use?

Please use the following nameserver:ns1.flokinet.netns2.flokinet.netns3.flokinet.netns4.flokinet.net

Can i upgrade or downgrade my hosting package?

You can upgrade or downgrade your hosting at any time on the fly without any downtime.An...

Using allow_url_fopen

The allow_url_fopen directive is disabled by default. You should be aware of the security...

Setting up Email Account with Thunderbird

Setting up Email Account with Thunderbird Mozilla Thunderbird is a free, third party email...