Skip to main content

Force ssl for all the pages (single domain) - force ssl for opencart



 #add this after RewriteEngine On and add your domain where to redirect

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

Comments