1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 SSL Headaches

Discussion in 'Troubleshooting and Problems' started by AwesomeLucky, Aug 1, 2016.

  1. AwesomeLucky

    AwesomeLucky Member

    Trying to get my SSL to work is proving to be an adventure. The certificate is already installed on the server and everything is good. For kicks, I enabled HTTPS in the config.php file and changed the URLs in the ACP to reflect the new protocol instead of HTTP. It's when I tried to add the .htaccess redirect that everything falls apart. When I add the following redirect, my page wont load and I get an error saying it's being redirected in a way that the page will never load.

    RewriteCond %{HTTPS} off
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    I have tried to start a new .htaccess and add the following code, but still no no avail. I am running an Apache server if that helps.

    I don't know what I am doing wrong...
  2. Mr Lucky

    Mr Lucky Well-Known Member

    I got it working.

    I don't think I changed anything in config.php


    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    That and turn on proxy images and links

    (BTW nice username)
    Last edited: Aug 1, 2016
  3. AwesomeLucky

    AwesomeLucky Member

    Looks like it's working on my mobile browses and my laptop running off my hotspot. Can you verify from desktop browser? https://webmaster-lounge.com. You shouldn't get any errors, I hope.

Share This Page