title: Force HTTPS using .htaccess
body: <p>How can I force HTTPS on my website? I tried the solution from <a href="https://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www">this</a> answer, but for some reason I get redirected to the parent directory when I visit the index page by clicking on a link (it worked fine before adding those lines of code in .htaccess). Also, when I try to visit my website using HTTP, it lets me do it. What am I missing?</p>