Auto redirect to https using htaccess Edit your .htaccess file Add this line “RewriteCond %{HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]” Go to your backend > system settings > security Tick Enable SSL Mode