Knowledge Base

After installing SSL, I get a “mixed content” error. How can I fix it?

After installing SSL, I get a “mixed content” error. How can I fix it?

A “mixed content” error occurs when an HTTPS page loads some resources (images, CSS, JS) over HTTP. To fix it: Ensure all URLs in HTML/CSS/JS are prefixed with https:// or use protocol-relative URLs like //example.com/.... In platforms like WordPress, install a plugin like “Really Simple SSL” to automatically update all internal links to HTTPS. Add the following redirect rule to your .htaccess file: ```perl RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ``` If you use a CDN, clear its cache so changes propagate to all edge servers.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?

4 times viewed | 0 people fount it helpful

3826704865 +38267054865 +38267054865 Top