• 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

Codeless

Active member
#1
Hi

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
 

Brogan

XenForo moderator
Staff member
#2
Use the browser console Network tab to see if there are any errors related to blocked content.

Try refreshing or disabling any server caching.
 

Brogan

XenForo moderator
Staff member
#4
Try adding this to the bottom of the library/config.php file:
PHP:
$_SERVER['HTTPS'] = 'on';
 

Brogan

XenForo moderator
Staff member
#6
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.
 

Brogan

XenForo moderator
Staff member
#8
Search the templates for the URL/string or check if it is being applied via a template modification.
 

Codeless

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