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

XF 1.5 CSS not loading after installing SSL

Discussion in 'Troubleshooting and Problems' started by Codeless, Feb 7, 2016.

  1. Codeless

    Codeless Member


    i am facing an unknown problem i tried to fix myself but i dont know what happen .

    i just installed SSL on server then i changed board basic information

    like before was http://website.com
    and i edit it to https://website.com

    when i visit with https:// its not loading css . i don't know what i am doing wrong please suggest me
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use the browser console Network tab to see if there are any errors related to blocked content.

    Try refreshing or disabling any server caching.
  3. Codeless

    Codeless Member

    i am not using any caching option on server side :)

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Try adding this to the bottom of the library/config.php file:
    $_SERVER['HTTPS'] = 'on';
  5. Codeless

    Codeless Member

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Presumably you have added that to a template somewhere?

    You will need to update the link to use https.
    That applies to any other content which is being loaded via http.
  7. Codeless

    Codeless Member

    i think i didn't add manually but maybe any module using this i don't know which one anyway to check that ?
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Search the templates for the URL/string or check if it is being applied via a template modification.
  9. Codeless

    Codeless Member

    thank you so much its fixed now i found and replaced all things ;) site working 100% fine thank you again for great support

Share This Page