# Mixed content

> Find HTTP images, scripts, styles, and embeds on HTTPS pages, fix the source URL, and verify the resource loads securely.

Canonical: https://scaplet.com/seo-issues/mixed-content-issue

Guide SEO issue · Security and mobile

Find HTTP images, scripts, styles, and embeds on HTTPS pages, fix the source URL, and verify the resource loads securely.

4 min

read

3

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

A page has mixed content when its HTML loads over HTTPS but a subresource loads over HTTP. Browsers may block scripts or other active resources, and some may auto-upgrade or block images. Find the insecure request in DevTools or page source, change it to a working HTTPS URL or remove it, and recheck the affected page. An ordinary HTTP link to another page is usually not mixed content.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fmixed-content-issue%20(%22Mixed%20content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fmixed-content-issue%20(%22Mixed%20content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fmixed-content-issue%20(%22Mixed%20content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo-issues%2Fmixed-content-issue%20(%22Mixed%20content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 4 minutes.

1. [Find the insecure resource 01](#find-the-insecure-resource)
2. [Fix the content source 02](#fix-the-content-source)
3. [Check the fix on real page variants 03](#check-the-fix-on-real-page-variants)

_01_How it works

## Find the insecure resource

Mixed content is a resource request, not just an HTTP link visible on an [HTTPS](/glossary/https) page. Images, stylesheets, scripts, fonts, iframes, and media can load insecurely if their source uses `http://`. Active resources such as scripts and styles can affect the whole page; image and media requests are passive but can still expose or alter content in transit.

**Don't rewrite every HTTP string**An ordinary `<a href="http://…">` navigates to another page and is usually not a mixed-content request. Change resource URLs such as image `src` or script `src`; inspect unusual gallery scripts that load link targets inside the current page.

1. 01

### Open the HTTPS page in Chrome

Open DevTools and check the Console and Issues tabs for mixed-content errors or auto-upgrade messages. The browser reports resources for the page currently open, so repeat this on affected templates or crawl the site for HTTP resource URLs.
2. 02

### Record the page and request URL

For each warning, note the page where it occurs, the resource URL, and the element or script that requested it. A third-party embed may request additional HTTP assets after the initial [markup](/glossary/structured-data) loads.
3. 03

### Search the source and CMS

Search source code and stored content for `http://`, focusing on `src`, stylesheet URLs, CSS `url()`, iframe sources, and fetch endpoints. Check theme files, rich-text content, and old absolute URLs in imported media.
4. 04

### Confirm the secure resource exists

Open the same resource with `https://`. If it loads correctly, update the source URL. If the console says Chrome automatically upgraded the request, web.dev says you can safely change `http://` to `https://` in your code. If it does not, choose a secure alternate host, host the file yourself when you have rights, or remove the resource.

_02_Choose the repair based on the resource

## Fix the content source

Request

### Same-site image or file

Fix

Use a root-relative path such as `/images/logo.svg`, or a valid HTTPS URL.

Check

The request resolves to the correct file over HTTPS.

Request

### Third-party script, font, or embed

Fix

Use the vendor's HTTPS endpoint if available; otherwise use a secure alternative or remove it.

Check

The console has no blocked resource and the component still works.

Request

### Legacy resource has [no HTTPS](/seo-issues/no-https) version

Fix

Move it to a host you control and can serve securely, if permitted, or remove it.

Check

The page no longer makes the insecure request.

Request

### Many CMS entries contain old URLs

Fix

Update the stored content or migration rule that writes the URL.

Check

A representative crawl shows the fix across templates and older content.

For a one-off page, changing the resource URL may be enough. For a [site migration](/glossary/site-migration), check HTML, CSS, JavaScript, canonical tags, redirects, `hreflang`, and sitemap generation. A global search-and-replace can break [external links](/glossary/backlinks) or provider-specific paths, so scope the change to fields that load subresources.

A [Content Security Policy](/glossary/content-security-policy) `upgrade-insecure-requests` directive can act as a safety net by asking browsers to upgrade requests. It does not make an unavailable HTTPS resource appear, and its failure can leave an asset unloaded. Fix hard-coded URLs at their source; use policy reporting when you need to find requests across a large site. web.dev notes that `upgrade-insecure-requests` goes further than the browser's own auto-upgrading and cascades into iframe documents, but if the resource is not available over HTTPS the upgraded request fails and the resource does not load.

web.dev's report-only policy for finding mixed content

```
Content-Security-Policy-Report-Only: default-src https: 'unsafe-inline' 'unsafe-eval'; report-uri https://example.com/reportingEndpoint
```

Send it as a response header. Each time a subresource loads over HTTP, the browser reports the page URL and the subresource URL to your endpoint. web.dev lists two caveats: users must visit the page in a browser that understands the header, and you only get reports for pages your users visit, so low-traffic pages may take a while. It also notes `report-uri` is being deprecated in favor of `report-to`. If a platform gives you no header access, web.dev suggests a site crawler instead.

_03_Worth knowing

## Check the fix on real page variants

### Retest every affected template

A console report only covers the page you opened, and a shared CMS component can emit the same URL across many routes.

### Check browser behavior

Confirm the request uses HTTPS, returns the expected asset, and does not appear as blocked in DevTools.

### Check third-party dependencies

A secure embed can still load a nested HTTP resource. Inspect the request waterfall and the vendor's current embed configuration.

### Check the canonical migration separately

Google lists insecure dependencies other than images among issues that can affect its HTTPS canonical preference. Align the serving certificate, canonical, redirects, and sitemap too.

### Test without relying on auto-upgrade

Browsers may upgrade or block different resource types. The source page should request the secure URL directly.

Once the page has no insecure subresource requests, revisit any [expired certificate](/seo-issues/expired-ssl-certificate) or [HTTP-only page](/seo-issues/no-https) separately. A valid page certificate does not automatically upgrade resource URLs embedded in that page.

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Is an HTTP link to another website mixed content?

Usually no. An ordinary anchor navigates the browser to another page; mixed content refers to a subresource loaded into the current HTTPS page. Check scripts, images, styles, fonts, frames, and unusual scripts that load a link target in-page.

_02_ Can I fix mixed content with upgrade-insecure-requests?

It can instruct browsers to upgrade insecure requests, but it cannot create a secure version of a resource that is unavailable over HTTPS. Correct the source URLs and verify each asset loads.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- web.dev
- google.com

1. 01 [Fixing mixed content](https://web.dev/articles/fixing-mixed-content) web.dev · checked 2026-10-24
2. 02 [What is mixed content?](https://web.dev/articles/what-is-mixed-content) web.dev · checked 2026-10-24
3. 03 [How to specify a canonical URL with rel=canonical and other methods](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) developers.google.com · checked 2026-10-24

## Keep learning

[All seo issues](/seo-issues)

[Learn Expired SSL certificate Security and mobile](/seo-issues/expired-ssl-certificate) [Related HTTPS Crawling and indexing](/glossary/https) [Read next Missing HSTS header Security and mobile](/seo-issues/missing-hsts) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Missing structured data](/seo-issues/missing-structured-data) [Missing x-default hreflang](/seo-issues/missing-x-default) [Multiple canonical tags](/seo-issues/multiple-canonical-tags)

More in Security and mobile
[Expired SSL certificate](/seo-issues/expired-ssl-certificate) [Intrusive interstitials](/seo-issues/intrusive-interstitial) [Missing HSTS header](/seo-issues/missing-hsts) [Mixed content](/seo-issues/mixed-content-issue) [No HTTPS](/seo-issues/no-https)

Terms on this page
[HTTPS](/glossary/https) [Structured data](/glossary/structured-data) [Site migration](/glossary/site-migration) [Backlinks](/glossary/backlinks) [Content Security Policy](/glossary/content-security-policy)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
