Link to home
Start Free TrialLog in
Avatar of Niexxam
Niexxam

asked on

convert http to https

Hi experts...,

I'm having problem in converting login page from http to https using vb.net.I already have SSL in IIS.If there's a solution/code,where should i put the solution/code?
Please help me step by step...i really need your help.
Avatar of powereds
powereds
Flag of Philippines image

Place the following HTML redirect code between the <HEAD> and </HEAD> tags of your default or index. html code.

<meta HTTP-EQUIV="REFRESH" content="0; url=https://www.yourdomain.com/httpslogin.html">

The above solution, when you browse http://your-insecure-domain.com it will redirect to your https://secure.domain.com.

Hope it helps.
Avatar of Niexxam
Niexxam

ASKER

Hi,expert...the code can't use...any other way???please...need urgently...:(
Avatar of Niexxam

ASKER

hi,expert...after trying and trying...the code can run but the page keep refresh...can u tell me what else should i change?
ASKER CERTIFIED SOLUTION
Avatar of powereds
powereds
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial