RevealTheme logo

مولّد robots.txt

يولّد ملف robots.txt بصريًا. اضبط قواعد الزحف لأبرز محركات البحث وروبوتات الذكاء الاصطناعي.

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

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

كيفية استخدام هذه الأداة

  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.

ما هو مولّد robots.txt؟

يخبر ملف robots.txt زواحف الويب بالصفحات التي يمكنها الوصول إليها وتلك التي لا يمكنها. وهو بروتوكول طوعي: فالزواحف حسنة السلوك تحترمه؛ والروبوتات الخبيثة تتجاهله. ينشئ هذا المولّد ملفات robots.txt متوافقة مع المعيار. وللقواعد المعقدة، راجع robotstxt.org والمواصفة الكاملة.

حالات الاستخدام الشائعة

  • 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.

الأسئلة الشائعة

أين ينبغي أن أرفع ملف robots.txt؟
في جذر موقعك: example.com/robots.txt. يجب أن يكون في الجذر؛ فهو لا يعمل في المجلدات الفرعية.
هل ينبغي أن أحجب روبوتات الذكاء الاصطناعي؟
هذا قرارك. السماح لها يعني أن ChatGPT/Perplexity يمكنهما الإشارة إلى محتواك. وحجبها يمنع زحف بيانات التدريب، لكنه يقلل الظهور.

أدوات ذات صلة