Structured Data
Important
SearchAction Schema
search What we check
Whether the homepage WebSite schema includes a SearchAction for the sitelinks search box in Google results.
build How to fix
- 1 Add a potentialAction of type SearchAction to your WebSite schema.
- 2 Set the target urlTemplate to your search endpoint with a query parameter placeholder.
- 3 Example: "target": {"@type": "EntryPoint", "urlTemplate": "https://example.com/search?q={search_term_string}"}.