How to enable sitelinks search box using expertrec custom search

Rate this article

Share this article
Share on facebook
Share on twitter
Share on linkedin
Share on email


Site links search box is the search box your get in google search results when you search for your website name in google search. It looks similar to this.sitelinks search box

Here is how to get site-links search box in your site.

  1. Create a custom search engine using expertec from
  2. Make sure you have chosen search results in new page method of User interface.
  3. Add this code to the head section of all your pages.
    <script type="application/ld+json">
      "@context": "",
      "@type": "WebSite",
      "url": "",
      "potentialAction": {
        "@type": "SearchAction",
        "target": "{search_term_string}",
        "query-input": "required name=search_term_string"


    1. Make sure you replace url with your website URL.
    2. Replace target with your website search URL pattern.

Please note that you might need significant search traffic for the sitelinks search box to appear in google search results.


Leave a Reply

Avatar placeholder

Your email address will not be published.

Hold on!
We’ve gathered our industry knowledge and are sharing hacks, tips to increase e-commerce revenue. Contains best tips for scaling up your ecommerce business.