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

No comments :

Post a Comment