{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-indexability-conflicts-015bdb50c8c7","title":"Resolve Indexability Conflicts in SEO","summary":"Audit and fix conflicting indexability signals between robots.txt, noindex tags, and canonical URLs to ensure consistent crawling and indexing behavior by Google.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-indexability-conflicts-015bdb50c8c7","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-indexability-conflicts-015bdb50c8c7","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-indexability-conflicts-015bdb50c8c7.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-indexability-conflicts-015bdb50c8c7\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before resolving conflicts, ensure that the website's robots.txt file is accessible and that the pages in question are crawlable. Use Google Search Console URL Inspection to verify the final state after making changes.","instructions":"---\nname: indexability-conflicts\ndescription: \"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.\"\nmetadata:\n  category: seo\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/seo\/indexability-conflicts\n---\n\n# Avoid conflicting indexability signals\n\nConflicting indexability directives create unpredictable crawling and indexing behaviour. The most dangerous combination is robots.txt blocking a page that also has a `noindex` tag \u2014 the `noindex` is never read, but the URL is still known to Google, leaving it in a limbo state that wastes crawl budget.\n\n## Quick Reference\n\n- robots.txt blocks crawling; `noindex` blocks indexing \u2014 they are different mechanisms and should not be applied together\n- A page blocked in robots.txt cannot receive a `noindex` directive because crawlers never read the page\n- Canonical tags pointing to a `noindex` page create an unresolvable conflict \u2014 canonicalise to an indexable URL instead\n\n## Check\n\nFor 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.\n\n## Fix\n\n1. Identify all pages where robots.txt blocks crawling AND the page also has `noindex`:\n   - If you want the page excluded from the index: remove the robots.txt rule; keep the `noindex` so crawlers can read it.\n   - If you want to block all crawling: remove `noindex` (irrelevant if not crawled); keep the robots.txt block.\n2. Identify canonical tags pointing to `noindex` pages:\n   - The canonical-url destination must be an indexable page.\n   - Change the canonical-url to point to an indexable URL, or remove `noindex` from the destination.\n3. Identify pages with both `index` and `noindex` in meta robots (from different tags or sources):\n   - Google uses the most restrictive directive; resolve to a single clear intent.\n4. Verify after fixing using Google Search Console URL Inspection for each affected page.\n\n\n## Explain\n\nrobots.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 \u2014 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`.\n\n## Code Review\n\nProgrammatically 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 \u2014 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.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/seo\/indexability-conflicts\n","use_cases":["Audit a website for conflicting indexability signals between robots.txt and noindex tags.","Fix canonical tags pointing to noindex pages to avoid unresolvable conflicts.","Ensure pages blocked in robots.txt do not also have noindex directives."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/indexability-conflicts\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-23","created_at":"2026-11-22T16:37:28.000000Z","updated_at":"2026-11-23T04:55:22.000000Z","seo_title":"Fix Indexability Conflicts in SEO","seo_description":"Resolve conflicting indexability signals between robots.txt, noindex tags, and canonical URLs to ensure consistent crawling and indexing behavior.","seo_keywords":["indexability conflicts","robots.txt noindex conflict","canonical noindex conflict","SEO crawl issues","Google indexability audit"]}}