{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-website-search-c49ae131e975","title":"Implement WebSite Search Schema for Sitelinks Searchbox","summary":"Add WebSite SearchAction schema to your homepage to enable Google to display a Sitelinks Searchbox in search results, improving click-through rates for brand-aware users. The deliverable is structured data in JSON-LD format within the homepage `<head>`.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-website-search-c49ae131e975","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-website-search-c49ae131e975","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-website-search-c49ae131e975.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-website-search-c49ae131e975\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"The `query-input` property must follow the format `required name=search_term_string` and the `target` URL must include a `{search_term_string}` placeholder. Ensure the homepage URL is set as the canonical URL.","instructions":"---\nname: website-search\ndescription: \"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.\"\nmetadata:\n  category: seo\n  priority: low\n  difficulty: beginner\n  estimatedTime: \"10\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/seo\/website-search\n---\n\n# WebSite Search Schema\n\nThe 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.\n\n## Quick Reference\n\n- Add `WebSite` schema with `SearchAction` to signal that your site has search functionality to Google\n- This enables Google to show a Sitelinks Searchbox below your brand's search result for branded queries\n- The Searchbox only appears at Google's discretion \u2014 the schema is a signal, not a guarantee\n- The `query-input` property must follow the format `required name=search_term_string`\n\n## Check\n\nCheck 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.\n\n## Fix\n\nAdd `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`.\n\n## Explain\n\nExplain 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.\n\n## Code Review\n\nReview 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.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/seo\/website-search\n","use_cases":["Optimize branded search result appearance for internal site search functionality","Add structured data for the first time to enable Sitelinks Searchbox","Improve click-through rates for brand-aware users searching on Google"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/website-search\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T06:15:30.000000Z","updated_at":"2026-11-24T07:12:47.000000Z","seo_title":"Implement WebSite Search Schema for Sitelinks Searchbox","seo_description":"Add WebSite SearchAction schema to your homepage to enable Sitelinks Searchbox in Google search results. Improve branded search visibility and user engagement.","seo_keywords":["WebSite Search Schema","Sitelinks Searchbox Implementation","Google Search Result Optimization","Branded Search Visibility","Structured Data for SEO"]}}