Neova高级 SEO 平台

robots.txt 语法无效或有未知字段

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

规则最近审核:2026年10月17日

Google 会忽略无法解析的 robots.txt 行,因此某条规则可能在没有任何提示的情况下失效。Google 忽略但其他爬虫会读取的字段(例如 crawl-delay 和 clean-param)不会被标记。

您可以做什么

更正列出的行:使用 field:value 格式,把 allow 和 disallow 放在 user-agent 之后,路径以 / 或 * 开头,并删除未知字段。

Neova 如何发现

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

Neova 为何标记

  • Google 会忽略无法解析的 robots.txt 行,所以某条规则可能在毫无警告的情况下失效。
  • Google 只支持 user-agent、allow、disallow 和 sitemap;其他字段都会被 Google 忽略。
  • GPTBot、ClaudeBot 等 AI 爬虫也会读取 robots.txt,所以一个出错的规则组可能意外地对它们开放或屏蔽某些路径。

来源

生成的工单

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

IN-108 · robots.txt Has Invalid Syntax or Unknown Fields

Expected Result: All in-scope pages pass 'robots.txt has invalid syntax or unknown directives'.

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
4. Known limits of this check: What counts as unknown depends on the reader: Google supports only user-agent, allow, disallow and sitemap. Lighthouse 13.5.0 safelists crawl-delay, clean-param, host, request-rate, visit-time, noindex and content-signal, yet fails the ARD 'Agentmap:' line that its own agentic audit reads (TE-041). Google ignores content past 500 KiB. This check covers syntax, not whether the rules are the right ones.
5. Sources: https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec | https://www.rfc-editor.org/rfc/rfc9309.html | https://developer.chrome.com/docs/lighthouse/seo/invalid-robots-txt

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

在您自己的网站上找到它

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

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

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

全部可索引性检查 · 指南 · 检查项库

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