URL: /rules/schema/website-search

---
title: "WebSite Search Schema"
description: "Checks for WebSite schema with sitelinks searchbox"
---

Checks for WebSite schema with sitelinks searchbox

| | |
|---|---|
| **Rule ID** | `schema/website-search` |
| **Category** | [Structured Data](/rules/schema) |
| **Scope** | Per-page |
| **Severity** | info |
| **Weight** | 3/10 |

## Solution

WebSite schema with SearchAction enables the sitelinks searchbox in Google results. Add to your homepage: WebSite with url, potentialAction (SearchAction with target URL using `{search_term_string}` placeholder, and query-input). This lets users search your site directly from Google results.

## Enable / Disable

### Disable this rule

```toml squirrel.toml
[rules]
disable = ["schema/website-search"]
```

### Disable all Structured Data rules

```toml squirrel.toml
[rules]
disable = ["schema/*"]
```

### Enable only this rule

```toml squirrel.toml
[rules]
enable = ["schema/website-search"]
disable = ["*"]
```
