A common sight after adding SSL to a WordPress site: the site opens over HTTPS, but the address bar shows a warning instead of a padlock, some images are missing, or the menu and slider stop working. The cause is mixed content. The page itself loads over an encrypted connection, but some files inside it are still requested from old http:// addresses, and browsers treat that as unsafe.
How browsers handle it
Active content such as scripts, stylesheets, iframes and fonts is blocked outright when loaded over HTTP, which breaks layouts and buttons. Passive content such as images, audio and video is often auto-upgraded to HTTPS; if the file does not exist there, it simply does not show. That is why the same problem can look different in different browsers.
Finding the offending files
Open the page, press F12 and go to the Console tab: lines starting with "Mixed Content" name the exact HTTP URL. In the Network tab you can filter by http://. Viewing the source with Ctrl+U and searching for http://misol.uz also reveals links the browser silently upgraded. If only some pages are affected, look at their content; if all pages are, look at the theme, widgets or global settings.
Step 1: check the WordPress addresses
Under Settings, General, both address fields must start with https://. If they are greyed out, they are set in wp-config.php:
define( 'WP_HOME', 'https://misol.uz' );
define( 'WP_SITEURL', 'https://misol.uz' );
define( 'FORCE_SSL_ADMIN', true );
Behind a proxy or CDN, WordPress may not detect HTTPS. Add this above the "That's all, stop editing" line:
if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) {
$_SERVER['HTTPS'] = 'on';
}
Step 2: replace old links in the database
Posts, media, widgets and page builder settings store full http:// URLs. A plain SQL REPLACE is risky because WordPress stores many options as serialized data that records string lengths; break them and theme settings can vanish. WP-CLI's search-replace handles serialization correctly. Back up first and do a dry run:
wp db export backup-before.sql
wp search-replace 'http://misol.uz' 'https://misol.uz' --all-tables --skip-columns=guid --dry-run
wp search-replace 'http://misol.uz' 'https://misol.uz' --all-tables --skip-columns=guid
wp cache flush
Without SSH, a plugin such as Better Search Replace does the same serialization-aware job; deactivate it afterwards.
Step 3: theme, page builder and cache
Some links are hardcoded in theme files:
grep -rn "http://" wp-content/themes/your-theme --include=*.php --include=*.css --include=*.js
Fix them in a child theme so updates do not undo your work. In Elementor, use Tools, Replace URL, then regenerate CSS. Finally clear the plugin cache, server cache and CDN cache, because a stale cached page often keeps showing the old error.
A safety net: upgrade-insecure-requests
<IfModule mod_headers.c>
Header always set Content-Security-Policy "upgrade-insecure-requests"
</IfModule>
This tells browsers to upgrade every HTTP request on the page. It does not replace the real fix: a file that does not exist over HTTPS still will not load.
Example: a furniture shop in Tashkent
A furniture shop runs misol.uz on WordPress and WooCommerce and recently moved to HTTPS. Product pages lost their photos and the "Add to cart" button stopped working. The Console showed several images and an old slider script loaded over HTTP. Running wp search-replace brought the photos back, the slider script turned out to be hardcoded in the theme and was fixed in a child theme, and after clearing the cache every page showed the padlock. On sayt.uz hosting the Let's Encrypt certificate renews automatically, but mixed content lives in your links, not the certificate, so a quick Console check after big changes is worth it.