-2
I installed an SSL certificate https://zerossl.com/ on a website. The certificate is working normal. The problem is that in the mobile version of the site the CSS is not loaded, on the other hand, in the desktop version the CSS is loaded normally. I suspect the problem is in htaccess. Follow the . htaccess code I am using to redirect to HTTPS:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
I used this same htaccess on another site that also installed the same certificate, and CSS uploaded it right on both devices. I wonder if anyone has been through something like this and can help me in solving this problem.
You can send the link of the site in question?
– Vinicius Cainelli
Hello Vinicius, thank you for your attention. Follow the link: https://www.camarapicui.pb.gov.br
– Rômulo Rodrigues