Tutorials

How to Fix Mixed Content Warnings in Elementor After HTTPS Migration

Introduction

Switched your Elementor site from HTTP to HTTPS and now the browser shows a "Not Secure" warning or a broken padlock icon? Mixed content warnings happen when a page loads over HTTPS but some of its resources — images, scripts, background CSS — are still requested over plain HTTP. Elementor sites are especially prone to this because so much content (background images, icon URLs) is stored as absolute URLs.

This guide covers finding and fixing every HTTP reference left over after an HTTPS migration.

What you'll learn:

  • Why mixed content warnings happen after switching to HTTPS
  • Finding every remaining HTTP reference
  • Fixing them without breaking Elementor's serialized data

Why This Happens

When you first built your site (or imported content) it likely saved image and asset URLs as full http://yoursite.com/... links inside Elementor's JSON data. Installing an SSL certificate and redirecting traffic to HTTPS doesn't rewrite those stored URLs — it only changes how visitors reach your site, not what's inside your database.

The Problem: Browsers block or flag HTTP resources loaded on an HTTPS page for security reasons, which means background images can silently fail to load, and visitors see a security warning even though your site itself is properly configured for HTTPS.


Method 1: Elementor's Replace URL Tool

When to Use This Method

  • You want the simplest, safest option built into Elementor itself
  • You're only fixing the protocol (http → https), not the whole domain

Step-by-Step Process

  1. Go to Elementor → Tools → Replace URL
  2. Enter http://yoursite.com as the old URL and https://yoursite.com as the new one
  3. Run the replacement — this only touches Elementor's own data, safely
  4. Regenerate CSS afterward from the same Tools panel

✅ Pros: Built into Elementor, purpose-built for exactly this, no separate plugin needed.

❌ Cons: Only covers Elementor's own content, not other plugins or theme options that might also store HTTP URLs.


Method 2: Site-Wide Database Replace

When to Use This Method

  • You still see mixed content warnings after using Elementor's own tool
  • Other plugins or widgets also store HTTP references

Step-by-Step Process

  1. Back up your database
  2. Install Better Search Replace
  3. Search for http://yoursite.com, replace with https://yoursite.com, across wp_posts, wp_postmeta, and wp_options
  4. Dry run, review, run for real, then check your browser's dev tools console for any remaining mixed content warnings

✅ Pros: Catches HTTP references anywhere in the database, not just Elementor's data.

❌ Cons: Broader in scope, so review the dry run carefully to avoid touching unrelated http:// links to external sites you don't control.


Method 3: Search & Replace Inside the Elementor Editor

If you want to see exactly which images and links are being changed before committing, Search & Replace for Elementor lets you preview the http-to-https swap directly in the editor, page by page or across your site.

✅ Pros: Visual confirmation before saving, no risk to non-Elementor data.

❌ Cons: Covers Elementor content specifically, same scope limitation as Method 1.


Frequently Asked Questions

Q: How do I find exactly which resources are causing the warning? A: Open your browser's developer console on the affected page — mixed content warnings are logged there with the specific URL causing the issue.

Q: Does this affect SEO? A: Indirectly — browsers may flag the page as insecure, which can hurt user trust and, over time, search rankings, so it's worth fixing promptly.

Q: What about images embedded from third-party sites? A: If the third-party site doesn't support HTTPS, you may need to re-host the image yourself rather than just changing the protocol.

Q: Will this fix redirect loops too? A: No, redirect loops are usually a server or .htaccess configuration issue, separate from mixed content warnings.

Q: Should I force HTTPS in wp-config.php as well? A: Many sites do, using FORCE_SSL_ADMIN or a redirect rule, in addition to fixing stored URLs — the two work together, not as alternatives.


Dealing with a full domain change too? See updating old URLs in Elementor after a domain change for the broader workflow.

Changing the whole domain, not just the protocol? See how to update URLs in Elementor after a domain change.

Fixed your mixed content warnings? Let us know which method worked in the comments!

Keep reading

Tutorials

How to Update URLs in Elementor After Domain Change

Moving your Elementor site to a new domain? URLs don't update automatically, which means broken links, missing images, and non-functional buttons across your…

Oct 17, 2025 · 10 min read
Tutorials

How to Replace Image URLs in Elementor After Migration

Migrated your Elementor site and all images are broken? Image URLs need updating after domain changes, HTTPS migrations, or moving to a CDN.

Oct 10, 2025 · 7 min read
Tutorials

Fixing Broken Links After Cloning an Elementor Site

Cloning an Elementor site — for a staging copy, a client demo, or a fresh dev environment — is fast with tools like Duplicator or All-in-One WP Migration.…

Sep 28, 2026 · 4 min read