indexability-conflicts
できること
このスキルは、どのページをクロールし、インデックスするかについて、サイトが検索エンジンに混在したシグナルを送っていないかを確認します。サイト運営者や SEO の担当者向けです。
使う場面
- ✓隠したかったページが、それでも検索結果に表示されるとき。
- ✓robots.txt とページのタグが、互いに矛盾しているように見えるとき。
- ✓canonical タグが、noindex のページを指しているとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability-conflicts/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ウェブサイトに、検索エンジンへの矛盾した指示がないか確認してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、各ページについて robots.txt のルール、robots のメタタグ、X-Robots-Tag のヘッダー、canonical のリンクを比べます。混在したメッセージを送る組み合わせを指摘し、一つの明確な設定を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Avoid conflicting indexability signals
Conflicting indexability directives create unpredictable crawling and indexing behaviour. The most dangerous combination is robots.txt blocking a page that also has a noindex tag — the noindex is never read, but the URL is still known to Google, leaving it in a limbo state that wastes crawl budget.
Quick Reference
- robots.txt blocks crawling;
noindexblocks indexing — they are different mechanisms and should not be applied together - A page blocked in robots.txt cannot receive a
noindexdirective because crawlers never read the page - Canonical tags pointing to a
noindexpage create an unresolvable conflict — canonicalise to an indexable URL instead
Check
For each page, collect four signals: (1) Is the URL path blocked by robots.txt? (2) Does the page HTML contain <meta name='robots' content='noindex'>? (3) Does the HTTP response include an X-Robots-Tag: noindex header? (4) Does the page's <link rel='canonical'> point to a different URL? Flag: pages blocked in robots.txt that also have noindex directives, pages with canonical pointing to a noindex URL, and pages with conflicting index/noindex signals from meta and HTTP header.
Fix
- Identify all pages where robots.txt blocks crawling AND the page also has
noindex:- If you want the page excluded from the index: remove the robots.txt rule; keep the
noindexso crawlers can read it. - If you want to block all crawling: remove
noindex(irrelevant if not crawled); keep the robots.txt block.
- If you want the page excluded from the index: remove the robots.txt rule; keep the
- Identify canonical tags pointing to
noindexpages:- The canonical-url destination must be an indexable page.
- Change the canonical-url to point to an indexable URL, or remove
noindexfrom the destination.
- Identify pages with both
indexandnoindexin meta robots (from different tags or sources):- Google uses the most restrictive directive; resolve to a single clear intent.
- Verify after fixing using Google Search Console URL Inspection for each affected page.
Explain
robots.txt is a crawl directive; noindex is an indexing directive. They operate at different stages of Google's pipeline. A page blocked in robots.txt is never fetched, so its noindex tag is never read — yet the URL is still known from sitemaps or links, keeping it in a crawl ambiguity state. Google's documentation explicitly warns against blocking pages in robots.txt that you also want to declare as noindex.
Code Review
Programmatically fetch robots.txt and parse its Disallow rules. For each page URL, determine if it matches a Disallow pattern. If yes, fetch the page HTML and check for <meta name='robots'> tags — flag if noindex is present. Also check the X-Robots-Tag HTTP response header for conflicts with the meta tag. Report the specific conflict type for each flagged URL.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/indexability-conflicts
よくある質問
robots.txt と noindex を組み合わせると、なぜ問題なのですか?
クロールをブロックされているページでは、検索エンジンは noindex のタグを読めず、その指示が見られないからだとこのスキルは説明しています。
canonical のリンクはどこを指すべきですか?
canonical のリンクは、noindex のページではなく、インデックス可能なページを指すべきだとしています。
クロールの禁止とインデックスの禁止の違いは何ですか?
robots.txt はクロールを止め、noindex はインデックスを止めるとこのスキルは説明しています。これらは別の道具で、一つのページで組み合わせるべきではありません。
詳細
作者による元の説明
Use when auditing a site for indexability issues, investigating why pages appear in Google's index that should be excluded (or vice versa), or reviewing robots.txt and meta robots configurations for consistency.
人気
- GitHubのスター
- 75k
- ランキング
- #2891
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。