@WebSiteTechnical SEO3 min readUpdated 2026-10-03

WebSite & Sitelinks Searchbox Schema Markup (JSON-LD)

Enables the Google Search direct internal search box in SERPs and establishes the canonical site root entity.

Target Queries:website schemasitelinks searchbox schemasearchaction json-ldgoogle sitelinks search
Advertisement
AdSense Placeholder: Top Leaderboard Ad (728x90 / 320x50)

Displayed below main page header or above the tool container. • Zero CLS Container

Production JSON-LD Code Block

Embed this structured data block directly into your HTML <head> or framework layout template.

WebSite & Sitelinks Blueprint Payload
Test in Validator →
application/ld+json (WebSite)
Test in Validator
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": "https://omniseotools.com/#website",
  "url": "https://omniseotools.com",
  "name": "OmniSEO Tools",
  "description": "Client-side developer utilities and technical SEO analyzers.",
  "potentialAction": {
    "@type": "SearchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "https://omniseotools.com/search?q={search_term_string}"
    },
    "query-input": "required name=search_term_string"
  }
}
100% Schema.org & Google Rich Results Compliant (2026)Ready for <script type="application/ld+json">

Typed Properties Specification (6 Fields)

Key Schema.org properties and sub-objects required to qualify for rich snippet treatment in Google Search.

PropertyExpected TypeStatusDescription & Example
urlURLRequired

Canonical apex domain URL.

e.g. https://omniseotools.com
nameTextRequired

Official website name displayed in Google SERP title tags.

e.g. OmniSEO Tools
potentialActionSearchActionRequired

Defines the internal search endpoint handler.

e.g. { "@type": "SearchAction", "target": "..." }
query-inputTextRequired

Must match the variable defined in urlTemplate (e.g. required name=search_term_string).

e.g. required name=search_term_string
descriptionTextRecommended

Short site synopsis for search engine crawlers.

e.g. Client-side developer utilities and technical SEO analyzers.
publisherOrganizationRecommended

Reference to the publishing organization node.

e.g. { "@id": "https://omniseotools.com/#organization" }

Google Search Console Pitfalls & Critical Warnings

Avoid these 3 common validation traps, parser errors, and algorithmic policy penalties when deploying WebSite schema.

errorPitfall #1

urlTemplate Mismatches query-input Variable

If urlTemplate uses '{q}' but query-input specifies 'search_term_string', the Google Search bot cannot interpolate queries.

GSC Impact:
Sitelinks search box is ignored or disabled in search results.
Actionable Fix:

Ensure variable inside urlTemplate exactly matches the 'name=' string in query-input.

criticalPitfall #2

Deploying SearchAction Without Working Search Handler

Serving a 404 or unhandled response on the specified urlTemplate path triggers algorithmic spam penalties.

GSC Impact:
Manual action for deceptive rich result markup.
Actionable Fix:

Verify that navigating to the target URL produces valid search results.

warningPitfall #3

Multiple WebSite Nodes with Different Names

Emitting inconsistent WebSite schema on subpages confuses Google's site name algorithm.

GSC Impact:
Google SERP displays raw domain instead of verified site brand name.
Actionable Fix:

Place WebSite JSON-LD only on the homepage or reference a single @id globally.

Recommended Implementation Scenarios

Homepage SERP enhancement
Direct query entry in Google results
Site name brand declaration

Related Schema Blueprints

Explore complementary structured data blueprints across the Technical SEO cluster.

Advertisement
AdSense Placeholder: Top Leaderboard Ad (728x90 / 320x50)

Displayed below main page header or above the tool container. • Zero CLS Container