How to implement Sitelinks Search Box

Sitelinks Search box serves navigational queries – searching brand name or typing the the URL of the website and then browsing inside in detail. As an example, a user who wants to search an image of Sydney Opera House in Flickr, first type ‘Flickr’ in google, follow the website from Search Results and then do a more detailed research for the image.
Sitelinks search box helps users to access the destination site search within Google SERP. That means, the user skips the step of navigating to the destination website for query search. See below
The user types Flickr in Google Search
Search Box appears in SERP. The query is typed ie ‘Sydney Opera House’ (as in the above example) and the Flickr page for relevant images is displayed.
Google uses different factors to make the sitelinks search box displayed for navigational searches. The feature is enabled for most websites that have working search engine function. However, not all websites will have this set up despite having the site search active.
No worries! This feature can be enabled by properly marking up your pages. Before getting started, make sure your website is compliant with the following guidelines.


Set a preferred canonical URL for your domain’s homepage using the rel=”canonical” link element on all variants of the homepage. This helps Google Search choose the correct URL for your markup.
No changes to robots.txt are necessary for Sitelinks search box to work correctly. Continue to follow our Webmaster Guidelines on this topic.

Make sure that your server supports UTF-8 character encoding.


Get Started

Mark up your homepage using It is not necessary to put the markup on all the pages of your website. You can either use JSON-LD or micro-data, though the former is recommended.

Script and schema microdata table

Sitelinks search box specification



<script type="application/ld+json">
"@context": "",
"@type": "WebSite",
"url": "",
"potentialAction": {
"@type": "SearchAction",
"target": "{search_key}",
"query-input": "required name=search_key"
Digital Media Planner and Inbound marketing specialist at Reach360 Digital with an established background working in the online marketing and advertising industry. She has proven skills in SEO, social media management, lead generation, content strategy, web strategy and Online Reputation Management (CRM). When she’s not researching the latest online marketing trends, you can find her in her Karate Dojo at home or singing on Smule!
Post Created 2

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top