How to Fix Mixed Content Warnings on Shopify & WooCommerce
errorThe Problem
Your HTTPS page is loading some resources (images, scripts, stylesheets) over insecure HTTP. This triggers a 'mixed content' warning in browsers, removes the padlock icon, and can cause some resources to be blocked entirely.
trending_upWhy It Matters for SEO
Mixed content breaks customer trust — no padlock icon means many shoppers will abandon their cart. Google also uses HTTPS as a ranking signal, and mixed content undermines your SSL certificate. Some browsers actively block mixed content, which can break your page layout or functionality.
buildHow to Fix It
- 1
Shopify handles SSL automatically, but mixed content usually comes from theme code or apps.
- 2
Open your browser DevTools (F12) → Console tab. Look for 'Mixed Content' warnings to identify the specific resources.
- 3
Go to Online Store → Themes → Edit Code.
- 4
Search for 'http://' across your theme files. Replace any http:// URLs with https:// or use protocol-relative //.
- 5
Check any hardcoded image URLs in product descriptions, blog posts, and pages.
- 6
Review installed apps — some inject HTTP resources. Contact the app developer if an app causes it.
<!-- Bad: hardcoded HTTP -->
<img src="http://cdn.example.com/image.jpg">
<script src="http://cdn.example.com/script.js"></script>
<!-- Good: use HTTPS or protocol-relative URLs -->
<img src="https://cdn.example.com/image.jpg">
<script src="//cdn.example.com/script.js"></script>
<!-- Best for Shopify: use asset_url filter -->
{{ "image.jpg" | asset_url | img_tag }}Related Fix Guides
How to Fix Slow Page Speed on Shopify & WooCommerce
Your store is too slow. Learn the fastest fixes for Shopify and WooCommerce page speed — image optimization, app audits, caching, and more.
How to Fix Redirect Chains on Shopify & WooCommerce
Redirect chains slow your site and waste crawl budget. Learn how to find and fix double redirects on Shopify and WooCommerce stores.
Want to check if YOUR store has this issue?
Scan your site for free — get copy-paste fixes in 60 seconds.
searchScan Now — It's Free