Empowering 11,000+ WordPress Creators • Est. 2020
دولار أمريكي
دولار أسترالي
دولار كندي
€ EUR
روبية هندية
£ GBP
ريال سعودي ريال برازيلي
¥ JPY
دولار سنغافوري
الفرنك السويسري
Free · No Sign-Up · Instant Results

Robots.txt مجاني Generator & Validator

Create a perfectly formatted robots.txt file in seconds with our visual builder — or validate your existing one for mistakes that could be silently blocking Google from your site.

Build Your Robots.txt

Used to auto-fill the Sitemap URL.

Live Preview

robots.txt
# Loading preview…
0 lines
0 bytes
الأساسيات

ما هو ملف Robots.txt؟

العلامة ملف robots.txt هو ملف نصي عادي يوضع في جذر موقعك (مثل https://yoursite.com/robots.txt). It instructs search engine crawlers — like Googlebot — which pages or sections of your site they should or should not crawl and index.

على الرغم من أن ملف robots.txt لا يضمن الخصوصية (لا تزال الصفحات المحظورة يمكن أن تظهر في نتائج البحث إذا تم الارتباط بها من مواقع أخرى)، إلا أنه الأداة الأساسية لإدارة ميزانية الزحف — how much of your site Google explores per day. Used correctly, it helps Google focus its crawling on the pages that actually matter for your rankings.

For WordPress sites specifically, a well-configured robots.txt prevents Googlebot from wasting time on admin pages, login screens, and internal search results — directing that crawl budget toward your content instead.

مثال robots.txt
# Allow all crawlers, block admin
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

# Block bad bots entirely
User-agent: AhrefsBot
Disallow: /

# Sitemap location
Sitemap: https://yoursite.com/sitemap.xml
دليل WordPress

كيفية إنشاء ملف Robots.txt لـ WordPress

لا ينشئ WordPress ملف robots.txt افتراضيًا. إليك بالضبط ما يجب إضافته لتحسين SEO الأمثل.

1

استخدم المولد أعلاه

حدد قالب "WordPress" أعلاه، وأدخل عنوان URL لموقعك، وسيتم إنشاء ملف robots.txt الخاص بك فورًا مع جميع القواعد الصحيحة المعبأة مسبقًا.

2

الرفع عبر FTP أو cPanel

قم بتنزيل ملف robots.txt الذي تم إنشاؤه وارفعه إلى الدليل الجذر لموقعك باستخدام FTP أو مدير ملفات cPanel أو مدير ملفات مضيفك.

3

Or Use SkySEOManager

SkySEOManager has a built-in robots.txt editor and validator under its Tools section. Paste your generated content there directly.

💡

نصيحة احترافية: التحقق من الصحة بعد كل تغيير

After uploading or editing your robots.txt, always run it through our validator above to check for mistakes. A single typo — like Disallow: / — can block your entire site from Google overnight.

تجنب هذه الأخطاء

أخطاء Robots.txt الشائعة التي تضر بتحسين محركات البحث لديك

These are the most common errors our validator catches — and the ones most likely to quietly kill your Google rankings.

🔴

Disallow: / (يحظر كل شيء)

العلامة Disallow: / تحت User-agent: * blocks Googlebot from your entire site. This is the single most catastrophic robots.txt mistake — and it happens more often than you'd think during site builds.

🟡

حظر ملفات CSS و JavaScript

منع /wp-content/ prevents Google from loading your stylesheets and scripts. Google renders pages like a browser — if it can't load CSS/JS, it can't properly evaluate your content for rankings.

🟡

توجيه خريطة الموقع المفقود

عدم تضمين Sitemap: يعني توجيه أنه يجب على Google اكتشاف خريطة موقعك من خلال إرسال Search Console فقط. إضافته إلى robots.txt هو فوز سهل يساعد Googlebot في العثور على جميع صفحاتك بشكل أسرع.

ℹ️

أخطاء المسار الحساسة لحالة الأحرف

مسارات Robots.txt حساسة لحالة الأحرف على خوادم Linux. Disallow: /Admin/ لا يحظر /admin/. استخدم دائمًا الحالة المطابقة لمسارات URL الفعلية الخاصة بك.

إصلاح تحسين محركات البحث لموقعك بالكامل

ملف robots.txt الخاص بك هو مجرد البداية.
قم بإصلاح تحسين محركات البحث لكل صفحة باستخدام SkySEOManager Pro.

Once your robots.txt allows Google to crawl your site, make sure every page is optimised. SkySEOManager Pro bulk-generates titles, meta descriptions, and image alt text across your entire WordPress site — powered by Gemini AI.

الأسئلة المتداولة

هل ملف robots.txt مطلوب لتحسين محركات البحث؟
لا، ملف robots.txt ليس مطلوبًا. إذا لم يعثر Google على robots.txt في جذر نطاقك، فإنه يعامل ذلك على أنه "السماح بكل شيء" ويزحف إلى موقعك بالكامل بحرية. ومع ذلك، يوصى بشدة بإنشاء واحد لمعظم المواقع حتى تتمكن من حظر صفحات الإدارة وصفحات تسجيل الدخول والمحتوى المكرر من الزحف.
هل سيمنع robots.txt ظهور صفحاتي في Google؟
حظر عنوان URL في robots.txt يمنع Googlebot من الزحف فهرستها، ولكنه لا يضمن أنها لن تظهر في نتائج البحث. إذا كانت المواقع الأخرى ترتبط بعنوان URL محظور، فقد يظل Google يعرضه في النتائج مع وصف "لا توجد معلومات متاحة". لمنع صفحة من الظهور في Google تمامًا، استخدم علامة noindex الوصفية بدلاً من ذلك.
هل يتبع Google توجيه Crawl-delay؟
No — Google explicitly ignores the Crawl-delay directive. It uses its own internal signals to manage crawl rate for your server. Crawl-delay is respected by some other bots like Bingbot and Yandex, but it has no effect on Googlebot.
كم مرة يعيد Google قراءة ملف robots.txt الخاص بي؟
Google typically caches and re-reads robots.txt files every 24 hours. If you make a change that you need Google to pick up quickly (such as removing a noindex or Disallow rule), you can request faster re-crawling via Google Search Console → Settings → Crawl Stats.
هل يجب علي حظر دليل /wp-admin/ الخاص بي؟
نعم. إضافة Disallow: /wp-admin/ يمنع الزواحف من إهدار ميزانية الزحف الخاصة بك على صفحات الإدارة التي ليس لها قيمة SEO. ومع ذلك، تأكد من إضافة Allow: /wp-admin/admin-ajax.php في السطر التالي للحفاظ على عمل الميزات المعتمدة على AJAX (مثل تحديثات سلة WooCommerce) بشكل صحيح.

أنشئ أو تحقق من ملف robots.txt الخاص بك الآن

مجاني للأبد. لا حاجة لحساب. ملف robots.txt الخاص بك جاهز في 30 ثانية.