Error

Username: EssEssEll

Website: https://spyz.ml

Information

It’s not an error but why does my website not have my CSS on it? I just installed an SSL certificate, but it doesn’t show my CSS. Before I installed my SSL, everything was working fine, the CSS was still working but when I installed my SSL Certificate it doesn’t work anymore.

Please help me!

You have mixed content issues.
Have you changed your http links to https?

1 Like

More info here…

https://docs.mybb.com/1.8/administration/security/https/

I tried that thing u redirected me to but it did not work, can you please check if I did anything wrong?

This?

Yeah I added the code to my .htaccess file but it did not work and I also replaced the things in the header.

You have to read the whole article, not selective reading…

Make sure you do set everything to HTTPS, as shown in the image below, all your links are set to HTTP, which is causing your issue.

4 Likes

I fixed it. I used RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set Content-Security-Policy "upgrade-insecure-requests; to redirect all http requests to https.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.