https only and not http or forward to https?

TMMM

Verified User
Joined
Oct 29, 2006
Messages
48
Hi,
When I installed my cert I chose the option to have it so that the public html directory is the "https" directory so that I do not have private_html and a public_html directorys.

I would like to make it so that when a user visits the website via http it automatically redirects them to use https.

Is this possible? If so, how would I go about doing this?

Thank you

Looking through this site I see that the best answer might be had by making a .htaccess file that redirects people to https automatically even if they type in http. Sounds great, although I am not familiar with how to create this .htaccess file? If this is the best way, could somebody please explain a little bit further?
 
Last edited:
Anybody?
I have read some posts on the net regarding this with many of different versions and some do not work or will literally restrict access to the site. I would hate to go down the wrong path.
 
Try googling rewrite http to https and click on Feeling Lucky. You should get a useful post.

Don't be afraid to try things; with a dummy domain if necessary.

Jeff
 
Back
Top