How do I display https in URL bar insted of http after I have set up SSL

Issue #1307 invalid
Anonymous created an issue

So I set up a SSL on my website, however in my url bar it still says http not https. How do I change this?

Comments (2)

  1. Anonymous

    Figured it out. in my httpd.conf file i added this:

    RewriteEngine on
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{REQUEST_URI} ^/about-us
    RewriteCond %{REQUEST_URI} ^/
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    

    where "about-us" was is the url of the page you want to display https

  2. Log in to comment