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

sitemap-domain

ما الذي تفعله

تفحص هذه المهارة عناوين خريطة الموقع بحثا عن نطاقات أو بروتوكولات أو صيغ www غير متطابقة، وتصحّحها. وهي مخصصة للمواقع التي غيّرت نطاقها، أو انتقلت من HTTP إلى HTTPS، أو غيّرت إعداد www.

متى تستخدمها

  • ✓عندما تطلب من وكيلك التحقق من أن عناوين خريطة الموقع تطابق نطاقك الحالي.
  • ✓عندما تنتقل حديثا من HTTP إلى HTTPS أو تغيّر اسم النطاق.
  • ✓عندما يُبلغ Search Console عن تغطية منخفضة لخريطة موقع أرسلتها.

رابط المهارة

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

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

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

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

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

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

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

“انتقلنا إلى HTTPS ونطاق جديد، وSearch Console يُظهر تغطية منخفضة. هل يمكنك التأكد من أن عناوين خريطة الموقع تستخدم النطاق الصحيح؟”

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

كيف تعمل

يقرأ الوكيل كل مدخل موقع في خريطة الموقع، ويقارن بروتوكوله واسم المضيف فيه بعنوان خريطة الموقع نفسه. يعلّم الحالات غير المتطابقة، مثل النطاقات القديمة أو عناوين HTTP أو صيغة www الخاطئة، ويحدّثها إلى النسخة القياسية.

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

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

Keep sitemap URLs on the correct domain

Google ignores sitemap entries from domains it cannot verify as yours — cross-domain URLs are simply skipped, meaning those pages lose the crawl-discovery benefit of the sitemap.

Quick Reference

  • Every <loc> URL must use the same domain and protocol (https://www.example.com) as the sitemap file itself
  • Cross-domain URLs in a sitemap are ignored by Google
  • Mixing http:// and https:// URLs in one sitemap creates conflicting signals
  • Mixing www and non-www variants indicates a canonicalization issue to fix first

Check

Parse all <loc> values in the sitemap and extract the protocol and hostname. Flag any URL whose protocol or hostname differs from the sitemap's own URL. Common mismatches: http vs https, www vs non-www, old domain vs new domain.

Fix

Update all <loc> URLs to use the canonical-url protocol and hostname. If the site is on https://www.example.com, every sitemap URL must start with https://www.example.com/. Regenerate and resubmit the sitemap.

Explain

Explain why Google restricts sitemap URLs to the same domain, how cross-domain URLs are silently dropped, and how domain mismatches in a sitemap reveal underlying canonicalization problems.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Keep sitemap URLs on the correct domain. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


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

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

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

لماذا يتجاهل Google بعض مدخلات خريطة الموقع؟

تقول المهارة إن Google يتجاهل العناوين من نطاقات لا يستطيع التحقق من أنها لك، فتفوت هذه الصفحات فائدة خريطة الموقع.

ماذا تعني عناوين www وغير www المختلطة؟

تقول المهارة إنها تشير إلى مشكلة في التوحيد القياسي للعناوين يجب إصلاحها أولا.

ماذا أفعل بعد الإصلاح؟

توصي المهارة بإعادة إنشاء خريطة الموقع ثم إرسالها مجددا.

التفاصيل

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

Use when applies to sites that have recently migrated from HTTP to HTTPS, changed domain name, or have www/non-www redirect configurations. Use when sitemap submission reports low coverage.

repo: thedaviddias/Front-End-Checklist

الشعبية

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

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

0

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

التعليقات

  • …

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

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