跳到正文
Skillpedia
SEO75k · #3008

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 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 noindex will 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.

repo: thedaviddias/Front-End-Checklist

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能