Change from http to https in your website through htaccess

November 28, 2017

Gokul Deepak S

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]

 

About the author

Pretium lorem primis senectus habitasse lectus donec ultricies tortor adipiscing fusce morbi volutpat pellentesque consectetur risus molestie curae malesuada. Dignissim lacus convallis massa mauris enim mattis magnis senectus montes mollis phasellus.

Leave a Reply

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments