Skillpedia
تحسين محركات البحث (SEO)75k · #2953

noindex-in-sitemap

ما الذي تفعله

تقارن هذه المهارة عناوين URL في خريطة الموقع XML مع توجيهات noindex في الصفحات نفسها، وتحل أي تعارض. وهي موجهة لأصحاب المواقع الذين يريدون إشارات فهرسة متسقة.

متى تستخدمها

  • ✓عندما تطلب من الوكيل التحقق من أن خريطة موقعك لا تدرج صفحات يجب ألا تُفهرس.
  • ✓عندما تغيب صفحات توقعتها من نتائج البحث وتشك في إشارات متضاربة.
  • ✓عندما تدقق مشكلات الفهرسة وتحتاج إلى تأكيد أن الخريطة تطابق الصفحات التي تريد فهرستها.

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/noindex-in-sitemap/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/noindex-in-sitemap/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك فحص خريطة موقعي وإخباري بالصفحات المدرجة فيها والمضبوطة على noindex أيضًا؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقرأ الوكيل خريطة الموقع، ويزور كل عنوان مدرج، ويتحقق من علامة noindex meta أو ترويسة X-Robots-Tag. ثم يُبلغ عن التعارضات ويوصي إما بإزالة noindex أو بإزالة العنوان من الخريطة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Noindex in Sitemap

Listing noindexed pages in your sitemap sends contradictory signals to Googlebot—it wastes crawl budget and may confuse Google into ignoring the noindex directive or spending crawl time on pages you don't want indexed.

Quick Reference

  • Never include noindexed pages in your XML sitemap
  • The sitemap and noindex directive send contradictory signals to crawlers
  • Sitemaps should only list canonical-url, indexable, 200-status URLs
  • Remove noindexed URLs from sitemap or remove the noindex directive—pick one

Check

Fetch the XML sitemap(s) and check each listed URL. For each URL, retrieve the page and check for <meta name='robots' content='noindex'> in the <head> or an X-Robots-Tag: noindex HTTP header. Report any URLs present in the sitemap that also carry a noindex directive.

Fix

For each URL that has a noindex directive AND appears in the sitemap: decide whether the page should be indexed. If yes — remove the noindex directive. If no — remove the URL from the sitemap. Never leave both in place.

Explain

The XML sitemap is a recommendation to search engines: 'please crawl and index these pages'. A noindex directive is an instruction: 'do not index this page'. Including noindexed pages in the sitemap creates a contradiction—Google will resolve it by following noindex, but the URL still gets crawled, wasting crawl budget.

Code Review

Fetch each URL in the XML sitemap. For each URL, check the HTTP response for X-Robots-Tag: noindex header, and check the rendered <head> for <meta name='robots' content='noindex'>. Report any URL that appears in the sitemap AND carries a noindex directive. Also check for sitemap entries returning non-200 status codes.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/noindex-in-sitemap

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

لماذا يُعد وجودهما معًا مشكلة؟

الخريطة تطلب من محركات البحث فهرسة الصفحة، بينما علامة noindex تطلب عدم فهرستها، فيضيع جهد الزحف وتتضارب الإشارات.

أيهما أُبقي؟

تقول المهارة إن على المرء أن يقرر هل يجب فهرسة الصفحة، ثم يُبقي الإعداد المطابق فقط، لا الاثنين معًا أبدًا.

هل يستطيع الوكيل فحص الترويسات أيضًا؟

نعم. تفحص المهارة علامة robots meta وترويسة X-Robots-Tag معًا.

التفاصيل

الوصف الأصلي من المؤلف

Use when auditing an XML sitemap or diagnosing indexing issues. Applies to any site where noindex meta tags or X-Robots-Tag headers may be applied to URLs also listed in the sitemap.

repo: thedaviddias/Front-End-Checklist

الشعبية

نجوم GitHub
75k
الترتيب
#2953
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة