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.
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.