How do I get a search box to appear in my sitelinks?

The Sitelinks Search Box is a search box that appears within a result on Google. It allows you to search on a website that was shown in the search results on Google.

  • 1 replies
  • Rahul Gupta 4 months ago

    To get your own search box, the only things you need is a website with a search box of its own and the following piece of Schema code which you need to add to the HTML of your homepage…

    "@context": "",
    "@type": "WebSite",
    "url": "",
    "potentialAction": {
    "@type": "SearchAction",
    "target": "{search_term_string}",
    "query-input": "required name=search_term_string"

    Make sure to change "URL" & "target" with your own website URL. That's it. To check if it works, submit your site to the structured data testing tool

Leave a Reply
Login now to leave reply