# HTTP resource on an HTTPS page

> A script, image, frame, media file or stylesheet loads over http://. Browsers handle mixed content in two ways: (1) upgradable content (images, video,...

Source: https://seocode.io/checks/mixed-content-http-resources

[All checks](https://seocode.io/checks) / Technical

A script, image, frame, media file or stylesheet loads over http://.

Warning `mixed-content-http-resources`

In SEOCode's checks since 22 Oct 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

A script, image, frame, media file or stylesheet loads over http://. Browsers handle mixed content in two ways: (1) upgradable content (images, video, audio), browsers automatically upgrade these requests from HTTP to HTTPS; if the HTTPS version is not available, the request is blocked; (2) blockable content (scripts, stylesheets, iframes, and other resource types), browsers block these requests entirely. Note: mixed content requests where the URL host is an IP address rather than a domain name are blocked even for upgradable content types, IP address URLs are never upgraded. Mixed downloads (resource downloads from a secure context over an insecure connection) are also blocked by browsers.

Runs on `.html` `.jsx` `.tsx` `.vue` `.svelte` · Warnings are reported on the pull request but do not block the merge.

## How to resolve it.

Change the address to https://, or use a protocol-relative path on your own domain. If the host has no HTTPS version, serve the file yourself. For images/video/audio, browsers will attempt to auto-upgrade to HTTPS, but scripts and stylesheets will be blocked entirely. IP address URLs will not be upgraded even for images.

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Mixed Contentdeveloper.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

Crawling, indexing, rendering and the directives that can take a page out of search.

- [01 · Missing lang attribute on <html> Critical The lang attribute on the <html> element tells search engines and screen readers what language the page is in.](https://seocode.io/checks/missing-lang)

- [02 · Missing viewport meta tag Critical Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.](https://seocode.io/checks/missing-viewport)

- [03 · Missing charset declaration Warning Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.](https://seocode.io/checks/missing-charset)

- [04 · Missing canonical tag Warning Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).](https://seocode.io/checks/missing-canonical)

- [05 · noindex directive detected Critical A meta robots noindex tag was found.](https://seocode.io/checks/accidental-noindex)

- [06 · Missing favicon Info A favicon improves brand recognition in browser tabs and bookmarks.](https://seocode.io/checks/missing-favicon)

[All 41 technical checks](https://seocode.io/checks#technical)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
