Google Sitelinks Search Box

by Geethalakshmi 2014-09-08 11:07:58

Google Sitelinks Search Box
With Google sitelinks search box, one can easily navigate to the required page of a website from the google search. This is an additional search box that comes with the search results when a user search for a specific brand. This could be clearly explained using the following image.
Wiki sitelink search box

The sitelink link box is works similar to the search command site command Google allows users to use when searching a specific domain only. Example site:wikipedia.com Dog

Here is an another example using youtube.
Youtube sitelink search box

This extra search box removes an extra query for the user to click throgh the site to make the search, instead the user can search within the site search box displayed in the sitelinks section.

Set Up Procedure:
 

<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>
  1. Install a working search engine on your site.

    Queries from the sitelinks search box direct the user to the search results page on your site, so you'll need to have a functioning search engine in order to enable this feature.

    No search engine for your site? You can set one up with Google Custom Search Engine.

  2. Put the schema.org markup on your homepage.
    This markup should reference the URL pattern for your site's search queries in the target property of SearchAction. The URL pattern must point to the same domain that hosts the content being searched. It must also include a variable name in braces that is a placeholder for the user's search query. In addition, you'll want to make sure that the URL pattern with the placeholder replaced by an actual query yields a valid search results page on your site. The example below shows the markup in JSON-LD:
  3. Wait for Google Search algorithms to identify your site as a candidate for the new sitelinks search box.
622
like
0
dislike
0
mail
flag

You must LOGIN to add comments