WebSite SearchAction & SiteNavigationElement: Structuring Internal Discovery
Even after sitelinks search box SERP changes, explicit SearchAction and navigation schemas clarify primary hubs while keeping search results noindexed.
Dmitry K., Technical SEO Lead · SEO Space
Indexation benchmark targets
- Target pattern
- Valid query-input URL
- Robots hygiene
- noindex search results
- Nav links
- SSR semantic <nav> HTML
- Homepage scope
- WebSite node only
1. Maintaining Valid SearchAction Syntax Without Crawl Bloat
Even though Google retired the visual Sitelinks Search Box SERP widget, enterprise knowledge graphs and AI agents still inspect `WebSite.potentialAction` (`SearchAction`) to understand how a domain structures internal product or documentation lookup.
Always keep the target `/search/?q={search_term_string}` endpoint functional with HTTP 200 responses while serving `<meta name="robots" content="noindex, follow">` so query variations never pollute organic index coverage.
{
"@context": "https://schema.org",
"@type": "WebSite",
"@id": "https://example.com/#website",
"url": "https://example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": { "@type": "EntryPoint", "urlTemplate": "https://example.com/search/?q={search_term_string}" },
"query-input": "required name=search_term_string"
}
} 2. Pairing Navigation Markup with Clean HTML Silos
Never rely on `SiteNavigationElement` JSON-LD as a substitute for crawlable SSR `<nav><a href="...">` elements inside the DOM.
- Emit `WebSite` with `potentialAction` strictly on the homepage—do not repeat it needlessly on every blog post.
- Keep `target` URLs pointing to your primary HTML search route, never to raw JSON API endpoints.
- Block unbounded faceted parameter combinations inside search result views via `noindex` rather than `robots.txt` blocks if bots already discovered links.
3. Navigation & Search Endpoint Governance
Align search UX capabilities with strict indexation containment.
| Component | Recommended Setup | Indexation Rule |
|---|---|---|
| Homepage WebSite Schema | Single SearchAction EntryPoint | Index homepage normally |
| /search/?q= Route | HTTP 200 SSR results page | noindex, follow meta robots |
| Primary Top Nav | Clean semantic <nav> links | Canonical hub URLs only |
Need this indexation setup audited on your domain?
Send your website URL. We check raw HTML parity, log crawl hits, canonical discipline, and sitemap architecture manually within 24 hours.