SSL Certificates

Soldato
Joined
30 Apr 2007
Posts
3,095
Location
Kent
I've recently had an SSL Certificate installed a site (with TSO Host), which is based on OpenCart. To make sure everything is secured, I've added a ModRewrite rule within .htaccess as follows:

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

Is it OK to do it that way? Or should I be using another solution.

Many thanks.
 
Back
Top Bottom