How to enable sitelinks search box using expertrec custom search

Rate this article

Share this article


The site links search box is the search box you get in the results when you search for your website name in Google search. It looks similar to this.

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

  1. Create a custom search engine using Expertec from
  2. Make sure you have chosen search results in the new page method of the 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 the URL with your website URL.
    2. Replace the target with your website search URL pattern.

Please note that you might need significant search traffic for the site links search box to appear in Google search results.

Add great search to your website

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like