Aller au contenu
Skillpedia
SEO75k · #2891

indexability-conflicts

Ce qu’il fait

Cette compétence vérifie si un site envoie des signaux contradictoires aux moteurs de recherche sur les pages à explorer et à indexer. Elle s'adresse aux propriétaires de sites et aux spécialistes du référencement.

Quand l’utiliser

  • ✓Lorsqu'une page apparaît dans les résultats de recherche alors que vous vouliez la masquer.
  • ✓Quand votre fichier robots.txt et les balises de page semblent se contredire.
  • ✓Lorsqu'une balise canonique pointe vers une page marquée noindex.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability-conflicts/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Pouvez-vous vérifier si mon site donne des consignes contradictoires aux moteurs de recherche ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent compare, pour chaque page, les règles de robots.txt, les balises méta robots, les en-têtes X-Robots-Tag et les liens canoniques. Il signale les combinaisons qui envoient des messages contradictoires et suggère un réglage unique et clair.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

Questions fréquentes

Pourquoi robots.txt combiné à noindex pose-t-il problème ?

La compétence indique que les moteurs ne peuvent pas lire une balise noindex sur une page qu'ils ne sont pas autorisés à explorer, la consigne n'est donc jamais vue.

Où doit pointer un lien canonique ?

La compétence indique qu'un lien canonique doit pointer vers une page indexable, et non vers une page noindex.

Quelle différence entre bloquer l'exploration et bloquer l'indexation ?

La compétence indique que robots.txt bloque l'exploration, tandis que noindex bloque l'indexation. Ce sont des outils différents qui ne doivent pas être combinés sur une même page.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
75k
Position au classement
#2891
Licence
MIT
Mis à jour
31/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires