Saturday, March 29, 2014

Redirect http to https using htaccess

Lets take a look how to redirect http to https using htaccess file

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

No comments:

Post a Comment