开发者

How to change https to http

I have my website secured using the verisign ssl protection. I realised that the website takes too much time to load due to the fact the https shows on all the pages. I would like to change this and do it in a such a way to allow the https to show only when people are visiting a particular page. I really don't know how to do this. Any advice would help. Than开发者_运维技巧ks


If you want most of your site to be non-ssl, but want ssl on www.mydomain.com/login, then just make sure any links to the login page specify https:

href="https://www.mydomain.com/login"

To prevent users typing in the url without the https, and force ssl on a specific page, you could use an .htaccess redirect:

RewriteEngine on
Redirect 301 /login https://www.mydomain.com/login
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜