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

XF 1.5 Unable to Change http to https

Discussion in 'Troubleshooting and Problems' started by ngkong, Aug 11, 2016.

  1. ngkong

    ngkong Member

    Hi,

    My default installation of xenforo is with http, and now I want to change it to https. I've tried to edit "Board URL" from the option menu, also changed the license URL, but somehow <base href=" always sticked to http instead of https. Is there any cache need to rebuild to perform this action?

    Thanks
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. ngkong

    ngkong Member

    I use cloudflare so no need to install cert.

    This should be nothing to do with the cert. If I view the html, the base tag still in http instead of https. It means $requestPaths.fullBasePath stays with http instead of https, doesn't respect "Board URL" configuration.
     
  4. ngkong

    ngkong Member

    Sorry please ignore previous post, $_SERVER['HTTPS'] = 'on'; did the trick
     

Share This Page