Skip to content
Skillpedia
SEO75k · #2891

indexability-conflicts

What it does

This skill checks whether a site gives search engines mixed signals about which pages to crawl and index. It is for site owners and SEO specialists.

When to use it

  • ✓When a page appears in search results even though you wanted it hidden.
  • ✓When your robots.txt file and page tags seem to disagree.
  • ✓When a canonical tag points to a page marked noindex.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability-conflicts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check my site for conflicting search engine instructions?”

5 new skills a week. 1 minute to read.

How it works

The agent compares robots.txt rules, robots meta tags, X-Robots-Tag headers and canonical links for each page. It flags combinations that send mixed messages and suggests one clear setting.

Technical content (original SKILL.md)

Original text by the author, straight from 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; noindex blocks indexing — they are different mechanisms and should not be applied together
  • A page blocked in robots.txt cannot receive a noindex directive because crawlers never read the page
  • Canonical tags pointing to a noindex page 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

  1. 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 noindex so crawlers can read it.
    • If you want to block all crawling: remove noindex (irrelevant if not crawled); keep the robots.txt block.
  2. Identify canonical tags pointing to noindex pages:
    • The canonical-url destination must be an indexable page.
    • Change the canonical-url to point to an indexable URL, or remove noindex from the destination.
  3. Identify pages with both index and noindex in meta robots (from different tags or sources):
    • Google uses the most restrictive directive; resolve to a single clear intent.
  4. 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

FAQ

Why is robots.txt plus noindex a problem?

The skill says search engines cannot read a noindex tag on a page they are blocked from crawling, so the instruction is never seen.

Where should a canonical link point?

The skill says canonical links should point to an indexable page, not to a noindex page.

What is the difference between blocking crawling and indexing?

The skill says robots.txt blocks crawling, while noindex blocks indexing. They are different tools and should not be combined on one page.

Details

Original description by the author

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.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2891
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills