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

image_2020_07_10T04_04_55_601Z

image_2020_07_10T04_05_39_605Z

download

Last Updated On July 10, 2020