bro, if I may ask I have a CSS problem on the web, if I search the result of the web from Google it’s a mess like CSS doesn’t work … but if you search directly on the web url, it can please the solution, bro Thank you very much.
Advertisement
Answer
This happen because the CSS is loaded over HTTPS protocol and you accessing the website with HTTP protocol,
You can fix this with forcing user to use HTTPS, on .htaccess write:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]