跳到正文
Skillpedia
SEO75k · #2892

indexability

它能做什么

这项技能检查首页和产品页等关键页面中,是否存在阻止它们出现在搜索结果中的设置。适用于希望自己最好的页面被找到的网站所有者。

适用场景

  • ✓当某个重要页面在 Google 搜索中找不到的时候。
  • ✓当测试站点在上线时仍保留了屏蔽设置的时候。
  • ✓当你的 CMS 默认开启了 noindex 设置的时候。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, or X-Robots-Tag headers
  • 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

  1. 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.
  2. For pages with X-Robots-Tag: noindex HTTP header:
    • Remove the header in your server config (Nginx, Apache, CDN rules).
    • In Vercel: check vercel.json headers configuration.
  3. For pages blocked by robots.txt:
    • Remove or narrow the Disallow rule.
    • Test with Google's robots.txt tester in Search Console.
  4. After removing blocks, request indexing in Google Search Console (URL Inspection → Request Indexing).
  5. 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.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2892
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能