views:

73

answers:

2

Hi this is my site,

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 To https://happylife.in

What things i have to ,

YET AM NOT STARTED ANY WORK FOR SSL,

Please guide me,

Thanks

A: 

maybe you can help the following, an solution with apache htaccess:

Redirect permanent / https://happylife.in

mewis
+1  A: 

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]
John Conde