Neova高级 SEO 平台

HTTPS URL 加载了混合内容

在 Neova 中 直接在抓取过程中运行,无需任何设置。

规则最近审核:2026年10月17日 · 指南更新:2026年6月11日

浏览器会把图片、音频和视频升级为 HTTPS,并拦截其他混合请求,因此脚本、CSS 和 iframe 对访客来说会失效。

您可以做什么

把每个资源文件 URL 改为 HTTPS,并确认该资源文件在 HTTPS 下可用。

Neova 如何发现

Neova 请求每个地址,并读取服务器的响应。

Neova 为何标记

  • 浏览器会拦截 HTTPS 页面上的混合脚本、样式表和 iframe,页面的这些部分对访客来说就坏了。
  • 图片、音频和视频会被自动升级到 HTTPS,如果该资源在 HTTPS 下不可用就会加载失败。
  • HTTPS 页面上的 HTTP 资源可能在传输中被读取或篡改,等于抵消了页面的加密。

来源

生成的工单

这一部分目前只有英文版。

SE-001B · HTTPS URL Loads Mixed Content

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

完整指南

这一部分目前只有英文版。

TL;DR

Mixed content happens when an HTTPS page loads sub-resources over plain HTTP, so fix it by serving every image, script, stylesheet, font and iframe over HTTPS and adding the upgrade-insecure-requests directive as a safety net.

Your audit flagged "Mixed Content - HTTP Resources on HTTPS." This means at least one page on example.com is served securely over HTTPS, but it pulls in one or more sub-resources over insecure HTTP. The result is a page that looks protected but is not fully protected, which weakens both the user experience and the security guarantees that HTTPS is supposed to provide. This guide explains what is happening, why it matters, and exactly how to resolve it.

What Mixed Content Is

A web page is made up of a main HTML document plus many sub-resources: images, JavaScript files, CSS stylesheets, web fonts, videos, audio and embedded frames. When the main document is delivered over HTTPS but one or more of those sub-resources is requested over HTTP, the page is said to contain mixed content. The page is a mix of secure and insecure connections.

According to MDN, mixed content is a problem because any resource sent over an insecure connection can be viewed and potentially modified by an attacker positioned between the visitor and your server. Even a single insecure image request undermines the privacy and integrity promise that the padlock implies.

Active vs Passive Mixed Content

Browsers split mixed content into two categories based on how much damage a tampered resource could do.

Active Mixed Content

Active, or blockable, mixed content includes scripts, stylesheets, iframes and other resources that can change the rest of the page. If an attacker swaps out an HTTP script, they could rewrite the whole page, steal form data or redirect users. Because the risk is high, browsers block active mixed content by default, which often breaks layout or functionality outright.

Passive Mixed Content

Passive, or optionally blockable, mixed content includes images, video and audio that cannot alter other parts of the page. The risk is lower, so browsers historically displayed it while downgrading the security indicator. Modern browsers increasingly try to upgrade these requests to HTTPS automatically, and will block them if no HTTPS version is available.

Why It Matters

Security. The entire point of HTTPS is an encrypted, tamper-resistant channel. An insecure sub-resource creates a gap an attacker can exploit to read or alter what loads on the page, defeating the protection on that view.

Blocked resources and broken functionality. Because browsers block active mixed content by default, an HTTP script or stylesheet may simply never load. That can break navigation, forms, sliders, tracking and styling, leaving visitors with a page that does not work as intended.

A broken padlock. When a page contains mixed content, the browser removes or downgrades the padlock and may show a "Not fully secure" warning. Google Search Central is clear that HTTPS is a ranking signal and that it expects secure pages to load their resources securely, so a degraded security state can erode both user trust and search confidence.

How to Diagnose It

Browser console. Open the affected URL, then open developer tools and check the Console and Security tabs. Browsers log explicit "Mixed Content" warnings naming each insecure resource and whether it was blocked or upgraded. This is the fastest way to see exactly which files are at fault.

Crawler. A crawler such as Screaming Frog can scan the whole site and surface every page that references an http:// resource, which is far more practical than checking pages one by one. This is the same method behind your audit finding, and it lets you confirm the fix at scale once you are done.

How to Fix It

The core fix is simple: serve every sub-resource over HTTPS. Locate each hardcoded http:// reference in your templates, theme files, page content, CSS and database, and update it.

Prefer absolute HTTPS URLs. Where the resource lives on a host that fully supports HTTPS, point directly at the secure version.

<img src="https://example.com/logo.png">
<script src="http://cdn.example.com/app.js"></script>

<img src="https://example.com/logo.png">
<script src="https://cdn.example.com/app.js"></script>

Protocol-relative URLs (starting with //) inherit whatever protocol the page uses, so they resolve to HTTPS on an HTTPS page. They are an acceptable interim pattern, but explicit https:// is clearer and is the modern recommendation.

<link rel="stylesheet" href="http://example.com/style.css">

<link rel="stylesheet" href="//example.com/style.css">
<link rel="stylesheet" href="https://example.com/style.css">

As a safety net for legacy references you may have missed, add the CSP upgrade-insecure-requests directive. As MDN describes, it tells the browser to rewrite insecure URLs to HTTPS before any request hits the network. Note that if a resource genuinely has no HTTPS version the request will fail, so this is a backstop, not a substitute for cleaning up your URLs.

Content-Security-Policy: upgrade-insecure-requests

For a database-driven site like WordPress, run a search-and-replace across the content tables to convert stored http:// references to https://, and make sure your site and home URLs use HTTPS.

Common Mistakes

Forgetting hardcoded URLs buried in theme files, inline styles, widgets and old posts is the most frequent cause of lingering mixed content. Another is relying only on upgrade-insecure-requests while leaving genuinely HTTP-only resources in place, which causes those resources to fail silently. Third-party embeds and ad or tracking snippets that still use http:// are easy to overlook. Finally, treating one fixed page as proof the whole site is clean: always re-crawl after changes to confirm no insecure resources remain anywhere.

FAQ

Q: Does mixed content hurt my SEO directly?

A: There is no specific ranking penalty named for it, but HTTPS is a confirmed ranking signal and broken resources, lost trust and a downgraded padlock all harm user experience, which indirectly affects performance. It is worth fixing.

Q: Will my visitors even notice?

A: Yes. Active mixed content is blocked, so scripts and styles may not load, breaking the page. Even passive cases trigger a "Not fully secure" indicator that erodes confidence.

Q: Is upgrade-insecure-requests enough on its own?

A: It is a strong safety net, but not a complete fix. If a resource has no HTTPS version the upgraded request fails. Always update the actual URLs and use the directive as backup.

Need a full technical audit?

Neova runs deep crawls that catch issues like this across your whole site.

在您自己的网站上找到它

Neova 在每次抓取时都会运行此检查项和其他所有检查项,然后把修复方法写成工单交给您的团队。

  • 适用于 Mac、Windows 和 Linux 的桌面应用
  • 全部 696 项检查,每项都附来源
  • Search Console 和 Analytics 4,以只读方式连接
  • 工单发送到 Jira、Linear 和 Asana

下载 Neova Desktop Free 套餐,或免费试用 Solo 14 天,无需银行卡。

全部安全检查 · 指南 · 检查项库

作者:Neova Labs · 返回检查项库