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

website-search

ما الذي تفعله

تضيف هذه المهارة بيانات مهيكلة تُعلم Google بميزة البحث في الموقع. وهي مخصصة لأصحاب المواقع التي تحتوي على مربع بحث داخلي.

متى تستخدمها

  • ✓عندما يحتوي الموقع على مربع بحث داخلي دون بيانات مهيكلة له.
  • ✓عندما يجب أن تكون الصفحة الرئيسية مؤهلة لظهور مربع البحث في روابط الموقع في Google.
  • ✓عندما تتحقق من سبب عدم ظهور مربع بحث لاستعلام باسم العلامة.

رابط المهارة

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

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

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

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

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

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

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

“موقعي فيه مربع بحث. كيف أخبر Google به حتى قد يظهر في نتائج البحث عن علامتي التجارية؟”

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

كيف تعمل

يضيف الوكيل كتلة WebSite بصيغة JSON-LD إلى الصفحة الرئيسية، فيها إجراء بحث. ويتضمن الإجراء نمط عنوان نتائج البحث مع عنصر نائب مكان مصطلح البحث.

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

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

WebSite Search Schema

The Sitelinks Searchbox lets users search your site directly from Google's search results page, reducing friction for brand-aware users and increasing the click-through quality from branded queries.

Quick Reference

  • Add WebSite schema with SearchAction to signal that your site has search functionality to Google
  • This enables Google to show a Sitelinks Searchbox below your brand's search result for branded queries
  • The Searchbox only appears at Google's discretion — the schema is a signal, not a guarantee
  • The query-input property must follow the format required name=search_term_string

Check

Check the homepage (or primary entry URL) for a <script type='application/ld+json'> block with "@type": "WebSite" and a potentialAction of type SearchAction. Verify target is a valid search URL template and query-input is correctly set.

Fix

Add WebSite JSON-LD schema to the homepage <head>. Set url to the canonical-url homepage URL. Set potentialAction with SearchAction, target pointing to your search results URL with {search_term_string} placeholder, and query-input as required name=search_term_string.

Explain

Explain how the WebSite SearchAction schema works, what the Sitelinks Searchbox is, why Google may choose not to show it even with valid schema, and how to construct the search URL template.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to WebSite Search Schema. 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/website-search

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

هل سيظهر مربع البحث دائما في Google؟

لا. تقول المهارة إن Google هو الذي يقرر متى يُعرض، فالبيانات المهيكلة إشارة وليست ضمانا.

ما قالب عنوان البحث؟

هو عنوان صفحة نتائج البحث في موقعك، مع عنصر نائب يوضع فيه مصطلح البحث.

ما الصيغة التي يجب أن يتبعها query-input؟

تقول المهارة إنه يجب أن يتبع الصيغة المطلوبة name=search_term_string.

التفاصيل

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

Use when applies to sites with internal site search functionality. Use when optimizing branded search result appearance or adding structured data for the first time.

repo: thedaviddias/Front-End-Checklist

الشعبية

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

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

0

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

التعليقات

  • …

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

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