Knowledge Base
Understanding Mixed Content Warnings
Fixing Mixed Content Errors
Mixed content occurs when an HTTPS page loads HTTP resources.
What Causes Mixed Content
- Images linked with http://
- Scripts loaded over HTTP
- Stylesheets on HTTP
- Fonts from HTTP sources
How to Identify Mixed Content
- Look for warning in browser address bar
- Open browser developer tools (F12)
- Check Console for warnings
- Look for "Mixed Content" messages
Fixing Mixed Content
Option 1: Search and Replace
In WordPress, use "Better Search Replace":
- Search: http://yourdomain.com
- Replace: https://yourdomain.com
Option 2: Use Relative URLs
Change:
http://example.com/image.jpg
To:
//example.com/image.jpg
Option 3: Really Simple SSL Plugin
This WordPress plugin can fix mixed content automatically.
External Resources
If using external resources (fonts, scripts), ensure they support HTTPS.
Prevention
- Always use https:// when adding links
- Or use relative URLs
- Check new content before publishing