2010-04-01 6 views
1

mysiteconversion http https

Je veux déplacer mon site de HTTP vers HTTPS,

Je veux aussi rediriger mon site lorsque le type d'utilisateur

TYPE COMME ILS 1.If heureux. en Pour https://happylife.in

2.LORSQU TYPE COMME ILS http://happy.in Pour https://happylife.in

3.S'il TYPE COMME www.happy.in Pour https://happylife.in

Quelles sont les choses que je dois,

NE SUIS PAS ENCORE INTERVENIR POUR COMMENCER SSL,

S'il vous plaît me guider,

Merci

+0

Pourquoi voulez-vous utiliser https? Y aura-t-il un processus d'authentification donnant accès à des informations non publiques? Si non, alors https est inutile. –

+0

SITE ENCORE NON LANCÉ..TEMP JE METTRE CE FLASH..J'EXCUSE POUR CETTE ... MERCI – Bharanikumar

+0

Le plus important, vous avez besoin d'un certificat SSL. –

Répondre

2

1) Installez un certificat SSL

2) Mettre cela dans un fichier .htaccess dans votre répertoire web racine:

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.happylife.in/$1 [R,L]