Change from http to https in your website through htaccess November 28, 2017 by Gokul Deepak S Leave a Comment simply add this rewrite rules to the starting of the codes in .htaccess files. You can Change from http to https in your website through htaccess RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]