Skip to content
Back to skills

Website Search

ASecurity

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.

  • 74,358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentgofrontend

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill website-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Website Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Website Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-website-search/badge)](https://www.skillsdirectory.com/skills/thedaviddias-website-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: website-search
description: "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."
metadata:
  category: seo
  priority: low
  difficulty: beginner
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/seo/website-search
---

# 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

Files in this skill

  • SKILL.md2.2 KB
  • references/rule.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…