Langsung ke konten
Skillpedia
SEO75k Β· #3088

website-search

Fungsinya

Skill ini menambahkan data terstruktur yang memberi tahu Google tentang fitur pencarian sebuah situs. Skill ini ditujukan untuk pemilik situs yang memiliki kotak pencarian internal.

Kapan dipakai

  • βœ“Saat sebuah situs web memiliki kotak pencarian internal tetapi tidak ada data terstruktur untuknya.
  • βœ“Saat beranda seharusnya memenuhi syarat untuk kotak pencarian tautan situs di Google.
  • βœ“Saat memeriksa mengapa Google tidak menampilkan kotak pencarian untuk kueri bermerek.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œSitus web saya memiliki kotak pencarian. Bagaimana cara memberi tahu Google tentangnya agar mungkin muncul di hasil pencarian merek saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menambahkan blok JSON-LD WebSite ke beranda dengan aksi pencarian. Aksi tersebut mencakup pola URL pencarian dengan placeholder untuk istilah pencarian.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah Google akan selalu menampilkan kotak pencarian?

Tidak. Skill menyatakan Google yang memutuskan kapan menampilkannya, sehingga markup hanya sinyal, bukan jaminan.

Apa itu templat URL pencarian?

Itu adalah alamat web hasil pencarian Anda, dengan placeholder tempat istilah pencarian dimasukkan.

Format apa yang harus digunakan query-input?

Skill menyatakan formatnya harus mengikuti format yang disyaratkan name=search_term_string.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
75k
Peringkat
#3088
Lisensi
MIT
Diperbarui
31/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa