RevealTheme logo

Pembuat robots.txt

Buat berkas robots.txt secara visual. Konfigurasikan aturan perayapan untuk mesin pencari utama dan bot AI.

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/

Sitemap: https://example.com/sitemap.xml

Cara menggunakan alat ini

  1. 1

    Tick 'Allow all standard crawlers' to add an explicit Allow: / line, or untick it to leave it out.

  2. 2

    Enter the paths you want crawlers to skip in the disallowed box, one per line (for example /admin/ or /api/).

  3. 3

    Optionally tick 'Block AI training crawlers' to add Disallow rules for GPTBot, ClaudeBot, PerplexityBot, CCBot and Google-Extended, and paste your sitemap URL.

  4. 4

    Select the generated text in the preview box, copy it, and save it as a file named robots.txt at your domain root.

Apa itu Pembuat robots.txt?

robots.txt memberi tahu perayap web halaman mana yang boleh dan tidak boleh mereka akses. Ini adalah protokol sukarela: perayap yang berperilaku baik mematuhinya; bot jahat mengabaikannya. Pembuat ini menciptakan berkas robots.txt yang sesuai dengan standar. Untuk aturan yang kompleks, lihat robotstxt.org dan spesifikasi lengkapnya.

Kasus penggunaan umum

  • Keeping crawlers out of admin, API, or internal paths like /admin/ and /api/ while leaving the rest of the site open.

  • Generating a starter robots.txt for a brand-new site that does not have one yet.

  • Blocking the five named AI training crawlers (GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended) so your content is not scraped for model training.

  • Adding or correcting the Sitemap: line so search engines can discover your sitemap.xml.

  • Drafting rules quickly to paste into a CMS or static-site config, then hand-editing for anything advanced.

  • Teaching teammates what a minimal, readable robots.txt looks like before they edit the real one.

Pertanyaan yang sering diajukan

Di mana saya harus mengunggah robots.txt?
Di root situs Anda: example.com/robots.txt. Berkas ini harus berada di root; di subdirektori tidak akan berfungsi.
Haruskah saya memblokir bot AI?
Terserah Anda. Mengizinkannya berarti ChatGPT/Perplexity dapat mereferensikan konten Anda. Memblokirnya mencegah perayapan data pelatihan, tetapi mengurangi visibilitas.

Alat terkait