How to fix mixed content on PrestaShop

Ensure every resource (images, scripts, stylesheets, fonts, iframes) on your store is loaded over HTTPS, never HTTP, so browsers never block or warn about mixed content.

Steps for PrestaShop

  1. Go to Admin → Shop Parameters → General. Enable 'Force SSL on all pages' to ensure all generated URLs are HTTPS.
  2. Go to Admin → Design → Theme & Logo → your theme files (or via FTP to /themes/yourtheme/) and search template .tpl files for 'http://' — update any hardcoded asset URLs.
  3. Check Admin → Design → Pages (CMS pages) for inline HTTP image/script references and update them.
  4. Clear the cache: Advanced Parameters → Performance → Clear cache.
  5. Re-test with browser DevTools Console.
Official PrestaShop documentation ↗

What is mixed content?

Mixed content happens when a webpage is served securely over HTTPS but one or more of its resources — images, JavaScript files, CSS stylesheets, fonts, videos, or iframes — are still requested over the old, unencrypted HTTP protocol. Browsers treat this as a security problem because the page itself is encrypted but parts of it are not. Modern browsers either silently upgrade, actively block, or display a security warning when they detect mixed content. The result is a broken or degraded experience for your shoppers.

Mixed content can break visible elements on your store (images that won't load, styles that don't apply, widgets that silently fail), directly hurting conversion rates. Browsers like Chrome and Firefox block "active" mixed content (scripts and stylesheets) outright, meaning functionality you depend on — checkout widgets, live chat, reviews — may simply stop working. A broken padlock icon or "Not Secure" warning in the address bar destroys shopper trust at the exact moment they are deciding whether to buy. Search engines also use HTTPS as a ranking signal, and a compromised security indicator can undermine the SEO benefit your SSL certificate is supposed to provide.

See the complete Mixed content guide for every platform and the full background.

Not sure if your PrestaShop store has this?

Run a free SEOLZ scan — we’ll find mixed content and every other issue across your whole site.

Scan my site free

Fix mixed content on another platform