schema-noindex-conflict
它能做什么
这个技能检查带有结构化数据的页面,查找 noindex 标签、robots.txt 屏蔽和规范标签冲突,这些都会阻止页面获得富媒体结果。它面向投入精力制作结构化数据、并希望它发挥作用的网站所有者。
适用场景
- ✓你请智能体找出带有富媒体结果标记却被禁止索引的页面的时候。
- ✓有效的结构化数据在 Google 搜索中没有产生任何富媒体结果的时候。
- ✓你在大型网站上添加结构化数据,并想确认页面可以被抓取和索引的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/schema-noindex-conflict/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我在页面上添加了结构化数据,但 Google 没有显示富媒体结果。请帮我检查是否有东西在阻止这些页面吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查每个带有富媒体结果标记的页面的三个方面:robots.txt 是否屏蔽了它,是否设置了 noindex 指令,以及规范标签是否指向别处。然后它会标出冲突并建议修复方法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Schema + Noindex Conflict
Investing in rich result schema on pages that are blocked from indexing wastes development effort — Google explicitly states it does not process structured data on noindexed pages.
Quick Reference
- Rich result schema (Review, Product, FAQ, etc.) has no effect on pages Google cannot index
- A page with
noindexwill not earn rich results even if it has valid structured data - Pages blocked in robots.txt are never fetched, so their schema is never processed
- Audit all pages with schema markup to confirm they are crawlable and indexable
Check
For every page containing a <script type='application/ld+json'> block with a rich result schema type, check: (1) Is the page blocked by robots.txt? (2) Does <meta name='robots'> contain noindex? (3) Does the canonical tag point to a different URL? Flag any conflicts.
Fix
For pages where rich results are desired: remove the noindex directive, unblock the URL in robots.txt, and ensure the canonical tag is self-referencing. If the page must remain noindexed, remove the schema markup — it serves no purpose.
Explain
Explain why Google does not process structured data on pages it cannot index, how to identify schema+noindex conflicts in a large site, and how to prioritize which pages need indexing to unlock rich results.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Schema + Noindex Conflict. 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/rules/seo/schema-noindex-conflict
常见问题
Google 会读取 noindex 页面上的标记吗?
这个技能说,Google 表示不会处理 noindex 页面上的结构化数据。
如果页面必须保持 noindex,我该怎么办?
这个技能说应移除结构化数据标记,因为它在该页面上没有任何作用。
大型网站应该如何排序优先级?
这个技能说,应先确定哪些页面需要被索引才能获得富媒体结果,并优先修复这些页面。
详情
作者的原始描述
Use when applies to any site that uses structured data for rich results. Use when investigating why valid schema markup does not produce rich results in Google Search.
热度
- GitHub 星标
- 75k
- 排名
- #3008
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。