You installed an SSL certificate and opened the site over https, but the padlock doesn’t appear, or the styling vanished, or the homepage slider stopped working. The usual cause is old links starting with http:// inside the page.
Types of mixed content
| Type | Examples | What the browser does |
|---|---|---|
| Active | JavaScript, CSS files, iframes | Blocks them entirely, breaking features or layout |
| Passive | Images, video, audio | Tries to load them over https automatically; blocks or warns if that fails |
Active content is the more dangerous kind, because whoever intercepts a script can change the whole page.
How to find it
Open the page, press F12 and go to the Console tab. You’ll see a message like:
Mixed Content: The page at 'https://example.com/' was loaded over HTTPS,
but requested an insecure script 'http://example.com/js/app.js'.
This request has been blocked; the content must be served over HTTPS.
The message names the exact file, so you know where to look.
How to fix it
-
In WordPress: make sure the site address under Settings → General starts with
https://. -
Replace links in the database: with a search-and-replace plugin, or with WP-CLI if it’s available to you over SSH:
wp search-replace 'http://example.com' 'https://example.com' --all-tables --dry-run--dry-runshows how many changes would be made without making them. Remove it to apply them, after taking a backup. -
Check theme files and any hard-coded links to outside services.
-
As a stopgap, send the header
Content-Security-Policy: upgrade-insecure-requestsso browsers request every file over https.
More detail is on the mixed content warning page.
On ArabyHost
The free certificate is issued automatically through AutoSSL and Let’s Encrypt, so all that’s left is fixing the links inside your site. On AI/Developer plans you can run replacement commands over SSH; on other plans, use a search-and-replace plugin. JetBackup keeps a daily backup to fall back on if something goes wrong. Once it’s fixed, purge LiteSpeed Cache or any other caching plugin so old copies of your pages don’t linger, then turn on the permanent redirect as described in the force HTTPS guide.
FAQ
Why did the problem appear right after enabling SSL?
Old links are stored in full inside your content and database as http, and a certificate doesn't change them. They have to be replaced with https links.
Does mixed content affect SEO?
Indirectly: the "Not secure" warning lowers visitor trust, and blocked scripts can break parts of the page. Fixing it is part of a proper move to HTTPS.
Is a plugin enough to fix it?
URL-rewriting plugins hide the problem at render time, but the cleaner fix is to replace the links in the database once and then remove the plugin.