Structured Data
Structured DataLow

WebSite Schema

Checks for WebSite JSON-LD with SearchAction — enables sitelinks search box.

What this check measures

We look for WebSite schema with a SearchAction pointing to the internal search endpoint. Required for the "sitelinks search box" under branded results.

Why it matters

If you have internal search and want Google to show a search box under brand queries, this schema is required. Google only shows the box for eligible sites — usually larger brands with clean schema.

search

How our audit detects it

Parse homepage JSON-LD. Look for @type=WebSite with potentialAction of type SearchAction.

Typical findings

  • error_outlineNo WebSite schema.
  • error_outlineSearchAction points to broken URL.

How to fix

Ship WebSite schema on the homepage with url, name, and potentialAction (SearchAction). Skip this entirely if you do not have internal search.

Copy-paste fix prompt for your stack

Lovable · Cursor · Bolt · v0 · Replit · Windsurf · Claude Code · Base44

View the fix prompt →

Frequently asked questions

Does the search box always appear?expand_more
No — Google grants it based on brand authority. The schema is a prerequisite but not a guarantee.

Want this checked on your site?

Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.

Scan my site

Related checks