indexability
它能做什么
这项技能检查首页和产品页等关键页面中,是否存在阻止它们出现在搜索结果中的设置。适用于希望自己最好的页面被找到的网站所有者。
适用场景
- ✓当某个重要页面在 Google 搜索中找不到的时候。
- ✓当测试站点在上线时仍保留了屏蔽设置的时候。
- ✓当你的 CMS 默认开启了 noindex 设置的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我的关键页面是否被屏蔽在 Google 搜索之外。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查每个重要页面是否有 noindex meta 标签、X-Robots-Tag 标头以及 robots.txt 屏蔽。它会建议移除任何意外的屏蔽,并在 Search Console 中确认结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Make important pages indexable
A page blocked from indexing cannot appear in search results, regardless of its content quality or backlinks. Accidentally blocking key landing pages, product pages, or blog posts is one of the most impactful technical SEO errors — often silently losing significant organic traffic.
Quick Reference
- Verify that pages you want ranked are not blocked by
noindex, robots.txt, orX-Robots-Tagheaders - Test indexability with Google Search Console's URL Inspection tool — 'URL is on Google' confirms indexing
- Common accidental blocks: staging environments promoted to production, CMS default noindex settings, and overly broad robots.txt Disallow rules
Check
For each important page (homepage, key landing pages, product pages, top blog posts): (1) Check <meta name='robots' content='...'> — does it contain noindex? (2) Check X-Robots-Tag HTTP response header — does it contain noindex? (3) Check robots.txt — is the URL's path blocked by a Disallow rule? (4) In Google Search Console, use URL Inspection to confirm the page is indexed. Flag any important page with any form of noindex or robots.txt block.
Fix
- For pages with
<meta name='robots' content='noindex'>:- Remove the noindex tag entirely, or change to
content='index, follow'. - In Next.js: remove the
robots: { index: false }from the page's metadata.
- Remove the noindex tag entirely, or change to
- For pages with
X-Robots-Tag: noindexHTTP header:- Remove the header in your server config (Nginx, Apache, CDN rules).
- In Vercel: check
vercel.jsonheaders configuration.
- For pages blocked by robots.txt:
- Remove or narrow the Disallow rule.
- Test with Google's robots.txt tester in Search Console.
- After removing blocks, request indexing in Google Search Console (URL Inspection → Request Indexing).
- Monitor the Coverage report over the following weeks to confirm the page moves to "Indexed".
Explain
A page that cannot be crawled or indexed cannot rank, no matter how good its content or how many links point to it. Google explicitly states that noindex and robots.txt blocks prevent pages from appearing in search results. Accidental indexing blocks are among the most common causes of sudden, unexplained drops in organic search traffic.
Code Review
Parse every page's HTML for <meta name='robots'> or <meta name='googlebot'> tags containing noindex. Check HTTP response headers for X-Robots-Tag with noindex. Cross-reference with robots.txt Disallow patterns. Flag any route in the application where noindex is set unconditionally (rather than conditionally for draft/private content).
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/indexability
常见问题
如何确认页面已被索引?
这项技能建议使用 Google Search Console 的 URL 检查工具,它会显示该页面是否已在 Google 中。
常见的意外屏蔽有哪些?
这项技能列出的有:测试环境的设置在正式环境中仍然保留、CMS 默认值,以及范围过广的 robots.txt 规则。
应检查哪些设置?
meta robots 标签、X-Robots-Tag HTTP 标头和 robots.txt 规则。
详情
作者的原始描述
Use when auditing a site for accidental noindex directives, investigating why important pages are not appearing in Google Search, or reviewing CMS settings that control indexing at the page or category level.
热度
- GitHub 星标
- 75k
- 排名
- #2892
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。