What this problem looks like
Mixed content often appears after SSL is enabled but WordPress still stores http links in post content, widgets, and theme customiser fields. Page builders and old image URLs in the media library are frequent sources.
Fix certificates and redirects first, then hunt http strings. A database search-replace fixes bulk content, but hardcoded URLs in theme files need manual edits via File Manager, SFTP, or FTP.
Step 1: List blocked assets in browser DevTools
Load an https page, open DevTools → Console, and look for Mixed Content warnings. Each line names an http URL. Screenshot the list before you change anything.
- Images in old posts and featured images.
- CSS or JS from plugins with hardcoded
httpCDNs. - Background images in page builder sections.
- Google Fonts or analytics scripts loaded insecurely.
Step 2: Confirm WordPress generates https links
In wp-admin go to Settings → General. Both URLs must use https://. If admin will not load, open wp-config.php in your site root, next to wp-admin and wp-content, and set these constants:
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' ); Step 3: Search-replace http URLs safely
On staging or with backup, use WP-CLI dry-run first. These commands need SSH access to the server. If you only have a hosting control panel, use a trusted search-replace plugin with a dry-run option instead.
wp search-replace 'http://example.com' 'https://example.com' --all-tables --dry-run
wp search-replace 'http://example.com' 'https://example.com' --all-tables Step 4: Fix theme and widget hardcoding
Search theme files for http:// via File Manager, SFTP, or FTP. Check Text widgets, Custom HTML blocks, and page builder global settings. Better Search Replace can target specific database tables if file edits are not enough.
Step 5: Clear all caches and verify
Purge host cache, optimisation plugin cache, and Cloudflare. Test checkout, forms, and login. Mixed content on cart pages can block payment scripts in strict browsers.
When to stop DIY and hire help
Large legacy sites with page builders and thousands of http URLs are tedious to fix by hand. BugShield resolves mixed content and SSL alignment at a confirmed fixed price.