Advertisement

Search results

Searching...
Select Template
Allow All Bots
Allow all search engines to crawl your entire site
Block All Bots
Prevent all search engines from crawling (not recommended for public sites)
Standard Website
Allow crawling but block admin, login, and private areas
WordPress Site
Optimized settings for WordPress websites
Laravel Application
Settings for Laravel PHP applications
E-commerce Store
Settings for online stores (WooCommerce, Shopify, etc.)
Block AI Crawlers
Allow search engines but block AI training bots (GPTBot, ClaudeBot, etc.)
Additional Options
robots.txt

Your robots.txt will appear here

Select a template or customize your rules
About robots.txt
What is robots.txt?

A robots.txt file tells search engine crawlers which URLs they can access on your site. It should be placed in the root directory of your website.

Common Directives
  • User-agent: Specifies which crawler the rules apply to
  • Disallow: Blocks access to a path
  • Allow: Permits access to a path (overrides Disallow)
  • Sitemap: Points to your XML sitemap
Important Notes
  • Place robots.txt at your site root (e.g., example.com/robots.txt)
  • robots.txt is publicly visible - do not use it to hide sensitive URLs
  • Not all crawlers respect robots.txt (malicious bots may ignore it)
  • Use Disallow: / to block all crawling (staging sites, private areas)
  • Test your robots.txt using Google Search Console

Generator Robots.txt

Advertisement

Apa itu Generator Robots.txt?

Generator Robots.txt membuat file robots.txt yang dibutuhkan website Anda untuk berkomunikasi dengan mesin pencari. File kecil namun penting ini memberi tahu Google, Bing, dan crawler lainnya halaman mana yang boleh dan tidak boleh mereka akses di situs Anda.

Kapan Anda Perlu Membuat File Robots.txt?

Setiap website harus memiliki file robots.txt. Berikut situasi di mana alat ini membantu:

  • Meluncurkan website baru: Perlu memberi tahu mesin pencari apa yang harus diindeks sejak hari pertama
  • Melindungi bagian privat: Ingin menjaga panel admin, halaman login, atau area member dari hasil pencarian
  • Mengelola crawl budget: Situs besar perlu mengarahkan crawler ke halaman penting terlebih dahulu
  • Memblokir crawler AI: Ingin mencegah GPTBot, ClaudeBot, atau bot AI lainnya dari scraping konten Anda
  • Setup staging site: Perlu memblokir semua crawler dari mengindeks environment testing Anda
  • Optimasi SEO: Ingin mencegah masalah konten duplikat dengan memblokir URL parameter

Cara Membuat Robots.txt - Langkah demi Langkah

  1. Pilih metode Anda: Pilih template siap pakai atau gunakan custom builder untuk kontrol penuh
  2. Pilih template: Pilih dari Standard Website, WordPress, E-commerce, Laravel, Blokir Crawler AI, atau opsi kustom
  3. Tambahkan URL sitemap: Masukkan lokasi sitemap Anda (contoh: https://situsanda.com/sitemap.xml)
  4. Generate file: Klik tombol generate untuk membuat robots.txt Anda
  5. Salin atau unduh: Salin konten ke clipboard atau unduh sebagai file
  6. Upload ke server: Letakkan file di direktori root website Anda

Fitur Utama

  • 7 template siap pakai: Preset untuk skenario umum - WordPress, Laravel, e-commerce, dan lainnya
  • Custom builder: Tambahkan grup user-agent dan aturan tanpa batas untuk kontrol penuh
  • Pemblokiran bot AI: Opsi satu klik untuk memblokir GPTBot, ClaudeBot, dan crawler AI lainnya
  • Pemeriksaan validasi: Otomatis memvalidasi robots.txt Anda untuk kesalahan
  • Preset path cepat: Path umum seperti /admin/, /login, /api/ siap ditambahkan
  • Dukungan sitemap: Tambahkan beberapa URL sitemap untuk membantu crawler menemukan konten Anda

Tips untuk Hasil Terbaik

  • Selalu sertakan URL sitemap Anda - ini membantu mesin pencari menemukan halaman Anda lebih cepat
  • Uji robots.txt Anda di Google Search Console sebelum live
  • Jangan gunakan robots.txt untuk menyembunyikan data sensitif - file ini terlihat publik
  • Mulai dengan Allow: / lalu tambahkan aturan Disallow spesifik
  • Ingat bahwa robots.txt adalah saran - bot jahat mungkin mengabaikannya

Pertanyaan yang Sering Diajukan

Di mana saya meletakkan file robots.txt?

Upload ke direktori root website Anda. Jika situs Anda example.com, file harus dapat diakses di example.com/robots.txt

Apakah ini akan memblokir halaman dari muncul di Google?

Disallow mencegah crawling tetapi bukan indexing. Halaman mungkin masih muncul di hasil pencarian dengan info terbatas. Gunakan meta tag noindex untuk penghapusan lengkap.

Haruskah saya memblokir area admin?

Ya, memblokir /admin/ atau /wp-admin/ direkomendasikan. Ini mencegah URL tersebut muncul di hasil pencarian.

Apa perbedaan antara Allow dan Disallow?

Disallow memblokir akses ke path. Allow mengizinkan akses dan dapat mengganti Disallow untuk subpath tertentu.

Advertisement