Use when applies to all HTML pages. Use when auditing pages that have disappeared from search results or when checking staging vs. production meta tag parity.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-robots-meta-a938be657abc ,按照其中的说明把「robots-meta」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
An accidental noindex on a key landing page silently removes it from search results; audit every page's robots directive to avoid invisible ranking losses.
<meta name="robots" content="..."> in <head> to control indexing per-pagenoindex only on pages that should not appear in search resultsnoindex, nofollow on pages you want crawled for PageRank flowgooglebot, bingbot) override the generic robots tag for that crawlerInspect <head> for <meta name="robots" content="...">. Verify the content value is intentional (e.g., production pages should not have noindex). Check for conflicting googlebot-specific tags.
Remove or update the noindex directive from pages that should appear in search results. For pages that must be blocked, confirm noindex is intentional. Remove duplicate or conflicting robots meta tags.
Explain the difference between robots.txt and meta robots, when each should be used, and why noindex combined with follow still allows link equity to flow.
Review metadata generation, rendered HTML, structured data, and response headers related to Set robots meta directives correctly. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/seo/robots-meta