Neova高级 SEO 平台

链接使用了非 HTTP 协议

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

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

ftp: 之类的协议或自定义协议,不会给爬虫可跟随的网页 URL,很多访客也无法打开。这是一种惯例,不是搜索引擎的规定。

您可以做什么

把链接替换为 http 或 https URL。只有当应用链接是有意设置时才保留。

Neova 为何标记

  • ftp: 这样的协议或自定义协议不会给爬虫提供可跟踪的网页 URL。
  • 很多访客根本打不开,或者会意外弹出启动某个应用的提示。
  • 这是一种惯例,不是搜索引擎的规则;值得确认这个链接是否有意为之。

来源

完整指南

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

TL;DR: This check flags anchors pointing to schemes other than http/https, things like mailto:, tel:, javascript:, ftp:, and file:. Contact links are fine and expected. The one to hunt down is a navigational link built on javascript:, which gives crawlers and users no real, indexable destination.

Every link declares a URI scheme, the bit before the colon that tells the browser how to handle the target. Web pages use http:// or https://, and crawlers like Googlebot, Screaming Frog, and Sitebulb are built to request those, read the response, and pass link equity along. Any other scheme does not resolve to a crawlable page. This audit groups them so you can confirm each is intentional rather than a broken or lazy navigation link. It is a review-and-confirm warning, not an automatic error: plenty of these links are perfectly valid.

Think of it as a sorting job rather than a bug hunt. The report pulls together every non-HTTP link so you can split them into two piles: the contact links that are supposed to be there, and the handful of cases where a link that should reach a real page is quietly pointing at a script, a dead protocol, or a local file path. Most of the list is usually the first pile; the value is in catching the few that belong in the second.

Which Schemes Are Fine, and Which One Bites

Scheme What It Does Verdict
mailto: Opens the mail client with a recipient prefilled Legitimate contact link, leave it
tel: Triggers the phone dialer on mobile Legitimate, expected on mobile
javascript: Runs inline script on click Almost always wrong for an <a>; use a button
ftp: Points at a file-transfer server Dead in modern browsers; host over HTTPS
file: References a path on the local machine Test leftover; never ship it

A Real Failing Snippet, and the Fix

The problem case is a link that looks like navigation but goes nowhere a crawler can follow. Note the example below is defanged (a space inserted after the colon) so it cannot execute:

<!-- Fails: fake navigation, no crawlable destination -->
<a href="javascript: void(0)" onclick="loadPanel('specs')">
  View specifications
</a>

Googlebot cannot follow javascript:, so the "specs" content behind it is invisible to search and unreachable by keyboard in some setups. If the content lives at a real URL, link to it. If it is a genuine in-page control that toggles something, it should be a <button>, not an anchor:

<!-- Fixed A: real, crawlable destination -->
<a href="https://example.com/products/widget/#specifications">View specifications</a>

<!-- Fixed B: it's a control, so use a button -->
<button type="button" onclick="loadPanel('specs')">View specifications</button>

The rule of thumb: if it takes you to content, it is a link and needs an href to a real page. If it manipulates the current page, it is a button. A dummy javascript: href is neither and should not exist.

How to Detect It

  1. Screaming Frog. Crawl, then use Custom Search (or export All Outlinks) and filter the link targets for javascript:, ftp:, and file:. Screaming Frog also lists non-HTTP outlinks separately so you can eyeball what should not be there.
  2. axe / keyboard test. Tab through the page. A javascript: "link" that is really a control often cannot be reached or activated by keyboard, and axe flags anchors with no valid href. That failure is your signal to convert it to a button.
  3. View Source. Search the raw HTML for href="javascript, href="ftp, and href="file. Any hit that is not a deliberate mailto: or tel: gets reviewed.

How to Fix It

  1. Sort the flagged links by scheme. Leave the mailto: and tel: links alone; they are working as intended.
  2. For every javascript: href, decide: does it navigate, or does it act on the page? Navigation gets a real href; page actions become <button> elements.
  3. For ftp: downloads, move the file behind HTTPS and link to the new URL, because modern browsers have dropped native FTP.
  4. Delete any file: links outright; they only ever worked on the author's own machine.
  5. Re-crawl and confirm the only non-HTTP schemes left are the intentional contact links.

Frequently Asked Questions

No. They are the correct, expected pattern for contact and phone links, and crawlers know to ignore them. They only appear in this report so you can confirm the non-HTTP links are the ones you meant to have.

Why Is javascript: In an href a Problem When the Click Still Works?

It works for a mouse user with JavaScript enabled, but Googlebot cannot follow it to a destination, so any content behind it may go undiscovered, and it often breaks keyboard access. Real destinations belong in an href; page actions belong in a button.

Barely. Chrome, Firefox, and Edge removed built-in FTP support, so these links now fail for most users and are not indexable. Host the file over HTTPS and link to that instead.

Usually copy-paste from local testing, where an author dragged a file into an editor and the local path stuck. It only resolves on that one machine, so remove it before it ships.

A file: scheme is closely related to the Link to Local Path check, and stray characters in a target are covered by Has Link with Whitespace in Href. If your concern is how much of the page a javascript: pattern hides from search, the JavaScript SEO rendering guide explains what crawlers can and cannot see, and Disallowed JavaScript File covers the related rendering trap.

在您自己的网站上找到它

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

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

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

全部链接检查 · 指南 · 检查项库

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