Change from http to https in your website through htaccess June 17, 2020 by GokulDeepak 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]