DOCS

Mixed content warning

Why an HTTPS page shows a warning or broken images and how to fix it.

Posodobljeno 05.10.2026. 2 min branja

Mixed content occurs when a page loaded over https:// fetches images, scripts or styles over http://. The browser blocks them or removes the padlock from the address bar, even though the certificate itself works correctly.

Finding the problem#

  1. Open the page in your browser and press F12 for developer tools.
  2. Open the Console tab.
  3. Look for "Mixed Content" messages that name the exact http:// URL.

Fixing it#

  • Hand-written pages: in HTML replace http://yourdomain.com/... with https://yourdomain.com/... or use relative paths (/images/logo.png).
  • WordPress: in Settings → General the addresses must start with https://. Replace old addresses in the content with the replace tool in WP Toolkit or a database replace plugin. You can view the database in phpMyAdmin.
  • External scripts: check whether the external source supports https:// and change the address.
  • Cache: after changes clear the plugin and browser cache (Ctrl + F5).

Redirecting all visitors to HTTPS is described in Forcing HTTPS.

Vam je bil ta članek v pomoč?

Sorodni članki

Still need a hand?

Open a ticket and we will reply by email. The whole team sees your request.