How to prevent access to website without SSL connection?

Posted by CraigJ on Pro Webmasters See other posts from Pro Webmasters or by CraigJ
Published on 2012-04-11T08:31:16Z Indexed on 2012/04/11 11:42 UTC
Read the original article Hit count: 380

Filed under:

I have a website that has an SSL certificate installed, so that if I access the website using https instead of http I will be able to connect using a secure connection.

However, I have noticed that I can still access the website non-securely, ie. by using http instead of https.

How can I prevent people using the website in a non-secure manner?

If I have a directory on the website, eg. samples/, can I prevent non-secure connections to just this directory?

© Pro Webmasters or respective owner

Related posts about ssl