conversion http to https
mysite
I want to move my site from HTTP TO HTTPS ,
Also i want to redirect my site when user type
1.IF THEY TYPE LIKE happy.in To https://happylife.in
2.IF THEY TYPE LIKE http://happy.in To https://happylife.in
3.IF THEY TYPE LIKE www.happy.in 开发者_StackOverflow社区 To https://happylife.in
What things i have to ,
YET AM NOT STARTED ANY WORK FOR SSL,
Please guide me,
Thanks
1) Install an SSL certificate
2) Put this in an .htaccess file in your root web directory:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.happylife.in/$1 [R,L]
精彩评论