indexability-conflicts
Fungsinya
Skill ini memeriksa apakah situs memberi sinyal campuran kepada mesin pencari tentang halaman mana yang boleh dirayapi dan diindeks. Skill ini cocok untuk pemilik situs dan spesialis SEO.
Kapan dipakai
- βSaat halaman muncul di hasil pencarian padahal Anda ingin menyembunyikannya.
- βSaat file robots.txt dan tag halaman Anda tampak saling bertentangan.
- βSaat tag canonical mengarah ke halaman yang ditandai noindex.
Link skill
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/indexability-conflicts/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda memeriksa situs saya untuk instruksi mesin pencari yang saling bertentangan?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membandingkan aturan robots.txt, tag meta robots, header X-Robots-Tag, dan tautan canonical untuk setiap halaman. Agent menandai kombinasi yang mengirim pesan campuran dan menyarankan satu pengaturan yang jelas.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Mengapa robots.txt ditambah noindex menjadi masalah?
Skill menyatakan mesin pencari tidak dapat membaca tag noindex pada halaman yang diblokir dari perayapan, sehingga instruksi itu tidak pernah terlihat.
Ke mana tautan canonical sebaiknya mengarah?
Skill menyatakan tautan canonical sebaiknya mengarah ke halaman yang dapat diindeks, bukan ke halaman noindex.
Apa perbedaan antara memblokir perayapan dan pengindeksan?
Skill menyatakan robots.txt memblokir perayapan, sedangkan noindex memblokir pengindeksan. Keduanya alat yang berbeda dan sebaiknya tidak digabungkan di satu halaman.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 75k
- Peringkat
- #2891
- Lisensi
- MIT
- Diperbarui
- 31/10/2026
Komentar
- β¦
Skill lain dari repositori ini
frontendchecklist
75kMemeriksa kode frontend dan halaman langsung terhadap lebih dari 380 aturan untuk aksesibilitas, kecepatan, SEO, dan keamanan, dengan alat baris perintah.
frontend-checklist-global
75kMengaudit proyek frontend terhadap seluruh 386 aturan Front-End Checklist, dan memberikan perbaikan spesifik untuk setiap masalah yang ditemukan.
404-page
75kMemeriksa bahwa halaman tidak ditemukan Anda menawarkan tautan yang membantu dan mengembalikan status 404 yang sebenarnya, untuk membantu pengunjung yang tersesat.
about-page
75kMeninjau apakah situs Anda memiliki halaman Tentang yang jelas yang menjelaskan siapa yang mengelolanya, untuk membangun kepercayaan pengunjung dan mesin pencari.
Skill serupa
competitive-platform-analysis
280kMembantu memahami kompetitor Anda. Skill ini mengidentifikasi, mengelompokkan, dan menyaring perusahaan pesaing sebelum analisis yang lebih dalam.
competitive-report-structure
280kMembuat laporan kompetitor yang komprehensif. Menggabungkan informasi untuk menunjukkan gambaran pasar, memberi rekomendasi, dan membantu menyelaraskan tim.
lead-intelligence
280kMembantu agent Anda mencari dan menghubungi orang-orang penting. Menganalisis lead, menyarankan pendekatan, dan mengelola outreach lewat email dan media sosial.