HTTPS Setup for website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

HTTPS Setup for website

I have a website but I'd like to setup my website for secure connection for my users. As far as I know, I have an SSL certificate and it is valid but I don't know how to setup my HTTPS. Help would really be appreciated, thanks. ☺

11th Sep 2017, 1:40 PM
Ghauth Christians
Ghauth Christians - avatar
7 Answers
+ 6
I managed to get it right but now that I solved my problem, I realise that my question wasn't clear on what I wanted. I wanted my site to redirect to HTTPS whenever I visit it from any form of input. This includes http://example.com or http://www.example.com. All I had to do in the end was add a simple rule to my .htaccess file and that was it. I'm setup now ☺ Thank you Michelle and Mohit for your help.
11th Sep 2017, 7:28 PM
Ghauth Christians
Ghauth Christians - avatar
+ 5
Thank you Michelle but I'm still struggling. I'll keep searching for a solution though.
11th Sep 2017, 2:42 PM
Ghauth Christians
Ghauth Christians - avatar
+ 5
I think it will be too difficult to troubleshoot the problem here Michelle, this is not a good place for that. I do believe that I will figure it out though, I'm very persistent and usually get my way with problems like this. ☺ So I'll keep trying. Thanks again for everything.
11th Sep 2017, 5:12 PM
Ghauth Christians
Ghauth Christians - avatar
+ 5
Thanks Mohit, I'll use that as well. ☺ Thanks Michelle. ☺
11th Sep 2017, 5:22 PM
Ghauth Christians
Ghauth Christians - avatar
+ 4
Will do Mohit 😁
11th Sep 2017, 7:49 PM
Ghauth Christians
Ghauth Christians - avatar
+ 3
@Gavin no problem just keep posting more innovative codes 😊
11th Sep 2017, 7:48 PM
MsJ
MsJ - avatar