Redirect browser url to https (ssl)

by Dinesh 2014-08-01 18:27:00

Do you want to redirect your browser url to https (ssl) encryption layer. Then use the following simple code to your htaccess and redirect your entire website url to https.
 
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


 
1391
like
0
dislike
0
mail
flag

You must LOGIN to add comments