Generate WebSite JSON-LD schema to identify your primary domain, site name, and optional search functionality. Add this to your homepage to enable the sitelinks search box in Google.
Add WebSite schema to your homepage to enable the sitelinks search box in Google and help AI engines identify your primary domain and brand name.
{search_term_string} exactly: this is the Google sitelinks search box placeholderWebSite schema serves two purposes: it tells search engines and AI engines the authoritative name and URL of your site, and it enables the sitelinks search box feature in Google Search.
name property to display your brand name in the search result breadcrumb. Without it, Google may show your domain URL instead.potentialAction with a SearchAction, Google may show a search box directly in your organic listing for branded queries.name and url properties to confirm which brand owns a domain, particularly useful for brands with non-obvious domain names.{search_term_string} (with curly braces) where the user's search query will be inserted. For example: https://example.com/search?q={search_term_string} or https://example.com/?s={search_term_string} for WordPress. Google will only show the sitelinks search box if your site has an internal search function that returns results for the given query.