On this page
What this issue is
Mixed content happens when a page is delivered over secure https:// but pulls in some of its parts (images, scripts, stylesheets, fonts or iframes) over plain http://. The page is then only partly secure.
Browsers treat two kinds differently. Passive content, such as images, is often loaded but marks the page as not fully secure. Active content, such as scripts, stylesheets and iframes, is usually blocked outright, because an attacker could change it on the way and take over the page.
On a payment page this matters most. A blocked script can mean a card field that never appears, a button that does nothing, or a tracking tag that never fires.
Why it costs you leads or sales
People are cautious when they type card details. A missing padlock or a 'Not secure' label on the payment step makes some of them leave. If the browser blocks a script, the damage is worse: the form may fail without any visible error.
It can also hide in your data. A blocked analytics or ad tag on the payment or thank-you page means purchases are not reported, so your ad platforms optimise on incomplete numbers.
- CartLoads normally over https
- Payment pageLoads an http:// script or frame
- Card form / Pay buttonBlocked or flagged as not secure
- Purchase trackedNo order, no conversion hit
A blocked http:// script on the payment page stops the steps after it.
Example: illustrative numbers showing how a warning or blocked form could reduce shoppers who finish payment.
How to check if your site has it
Open the payment page in Chrome
Add a product to the cart and go to the payment step. Check the address bar for 'Not secure' or a crossed-out padlock.
Open DevTools
Press F12 (or Cmd+Option+I on Mac) and open the Console tab. Reload the page. Mixed content messages start with 'Mixed Content: The page at ... was loaded over HTTPS, but requested an insecure ...'.
List the offending URLs
Each message names the exact http:// URL. Note which file it is and where it comes from (your theme, a plugin, an app or a pasted snippet).
Check the Security panel
In DevTools, open the Security tab (or the Issues tab in newer Chrome) to see a summary of insecure resources.
Search the source
View page source and search for
http://. Ignore harmless links in plain text, and look atsrc=,href=on stylesheets, andaction=on forms.
How to fix it
The fix is always the same idea: load every resource over https://. Where you change it depends on where the URL lives.
Set both URLs to https
Go to Settings > General and make sure WordPress Address and Site Address both start with https://.
Update old content URLs
Use a search-and-replace tool (a plugin such as Better Search Replace, or WP-CLI) to change http://yourdomain.com to https://yourdomain.com in the database. Take a backup first.
Check theme and plugin settings
Look in your theme options, page builder and WooCommerce extensions for hard-coded http:// logos, fonts or scripts.
Search theme code
In Online Store > Themes > Edit code, search for http:// and change asset links to https:// or to protocol-safe Shopify asset filters.
Check apps and custom scripts
Review Settings > Customer events and any app embeds for scripts loaded over http://. Contact the app developer if the URL is theirs.
Note checkout limits
Shopify controls most of the checkout itself, so insecure items there usually come from your own scripts or apps.
Review Custom HTML tags
Open each Custom HTML tag that fires on the payment page and change any http:// script or pixel URL to https://.
Check templates and URLs
Look at tag fields that hold a URL, then publish a new container version and test in Preview mode.
Enable SSL
In Project settings > Hosting, make sure SSL is on, then republish.
Fix embeds and custom code
Check Embed elements and the custom code areas in Site settings for http:// URLs and change them to https://.
Check custom code and images
In the funnel or website builder, open custom code blocks, the tracking code area and any linked images, and change http:// URLs to https://.
Check custom domain SSL
Confirm the custom domain shows a valid certificate and the page loads over https.
Check embedded code
Review HTML iframe elements and custom code in Settings > Custom code for http:// links and update them.
Confirm HTTPS is on
Wix sites normally serve over HTTPS. If a connected domain is not secure, check its SSL status in the domain settings.
Turn on SSL
In Settings > Advanced > SSL, set it to Secure (preferred).
Fix code injection and blocks
Check Code Injection and Code blocks for http:// URLs and change them to https://.
Change URLs in templates
Replace http:// with https:// in templates, CSS (url(...) values) and JavaScript. Use a relative path for your own files.
Redirect and upgrade
Redirect all http:// requests to https:// on the server. As a safety net, you can add a Content-Security-Policy header with upgrade-insecure-requests.
<!-- Before: blocked on an https page -->
<script src="http://cdn.example.com/checkout.js"></script>
<!-- After -->
<script src="https://cdn.example.com/checkout.js"></script><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">With mixed content
- Console shows Mixed Content errors
- Padlock missing or 'Not secure' label
- Payment script or iframe blocked
- Purchase tag may not fire
All https
- Console is free of mixed content messages
- Padlock shows as secure
- Card form and Pay button load
- Purchase tag fires on the thank-you page
How to confirm it's fixed
- Reload the payment page in a private window and see no mixed content messages in the Console
- The address bar shows the secure padlock
- The card form, wallet buttons and Pay button all load
- Check the Network tab: no request URL starts with http://
- Test on mobile as well as desktop
- Complete a test order (test mode) and confirm the purchase tag fires
How to prevent it happening again
- Always paste https:// URLs into themes, apps and tag managers
- Check the payment page after installing or updating a plugin, app or theme
- Review the Console after every change to checkout code
- Redirect all http:// traffic to https:// on the server
- Keep the safety-net upgrade-insecure-requests header, but still fix the source
- Run an automated check on the payment page on a schedule
How FunnelGuard handles this
FunnelGuard detects this issue today. It runs a robot visitor through your real customer journey on a schedule, including the payment page, and runs a no_mixed_content check that looks for resources loaded over insecure http:// on that secure page.
If the check fails, it is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1), and it stops before payment unless your store's test mode is set up. The Free plan covers 1 site and 2 journeys with daily checks, no card needed.
The secure page requests an insecure file and the browser blocks it.
Questions people ask
What does a mixed content warning on my payment page mean?
It means the page loads over https:// but some images, scripts, styles or frames load over http://. Browsers may mark the page not fully secure or block those files. On a payment page, a blocked script can break the card form.
Why is my checkout page showing 'Not secure'?
The most common cause is a resource loaded over http:// on an https page, such as an old image or script URL. Open the browser Console and look for 'Mixed Content' messages, which name the exact URL to change.
How do I find mixed content on my website?
Open the page in Chrome, press F12 and reload with the Console tab open. Each mixed content message lists the insecure URL. You can also search the page source for http:// in src and href attributes.
Does mixed content stop customers from paying?
It can. Browsers block active content like scripts and iframes, so a payment script or card frame loaded over http:// may never appear. Image-only issues usually just trigger a warning.
How do I fix mixed content in WordPress?
Set both the WordPress Address and Site Address to https:// in Settings > General. Then replace old http:// URLs in the database with a search-and-replace tool, after taking a backup, and check theme and plugin settings.
Is upgrade-insecure-requests enough to fix mixed content?
Not always. It asks the browser to request the https:// version of each file, which only works if that version exists. Fix the source URLs so the problem is solved for good.
Can mixed content affect my conversion tracking?
Yes. If a tracking script or pixel on the payment or thank-you page is loaded over http://, the browser may block it, so purchases are not reported to your analytics or ad platforms.
Can FunnelGuard tell me if my payment page has mixed content?
Yes. FunnelGuard runs a no_mixed_content check on the payment page as part of its scheduled journey checks, and alerts you with a screenshot and a likely cause if it finds insecure resources.
Related issues
- CNV-201Card form iframe (Stripe Elements) doesn't renderFix guide
- CNV-202PayPal button missingFix guide
- CNV-203Apple Pay/Google Pay button missing on supported devicesFix guide
- CNV-205Payment gateway in test mode on live siteFix guide
- CNV-217Payment error message unhelpfulFix guide
- CNV-209Payment succeeds but order not createdFix guide