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:
Is it OK to do it that way? Or should I be using another solution.
Many thanks.
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.