Google today redesigned its sitelinks search box, utilized
for seeking inside sites straightforwardly from Google's search results. The
organization has made the search box more conspicuous (it is currently over the
sitelinks area), and also included backing for Autocomplete and the capability
to send the client to the site's own particular search pages.
Google has presented an as good as ever sitelinks search box
inside the search results, making it simpler for clients to achieve content on
your site straightforwardly through your site-search pages.
Site search choice in search items was included before
however today a few changes were made in it like:
· Search box is above sitelinks
· Auto-complete feature
· Option to empower internal site search instead of Google search with this box
The most effective method to Tell Google about Site Search Box for Sitelinks:
<meta itemprop=”url” content=”https://www.example.com/”/>
<form itemprop=”potentialAction” itemscope itemtype=”http://schema.org/SearchAction”>
<meta itemprop=”target” content=”https://www.example.com/search?q={search_term}”/>
<input itemprop=”query-input” type=”text” name=”search_term” required/>
<input type=”submit”/>
</form>
</div>
b) Using markup in JSON-LD<script type=”application/ld+json”>
{
“@context”: “http://schema.org”,
“@type”: “WebSite”,
“url”: “https://www.example-petstore.com/”,
“potentialAction”: {
“@type”: “SearchAction”,
“target”: “https://host.example-petstore.com/search?q={search_term}”,
“query-input”: “required name=search_term”
}
}
</script>
Include the anybody above markup your landing page with
exact Urls. If you don’t have a site search engine, use Google Custom Search
Engine.