It’s not that hard to make your website qualified for a Sitelinks Searchbox. The method includes only three measures, this procedure manages the technical side, but, ultimately, Google determines in case your website gets a Searchbox.
1. Check you own a working search engine
In the event that you don’t see it, you formed a conscious choice to transfer your search engine elsewhere either, or you also may have to fix your theme.
2. Add the markup that is required
Another measure that is really easy, assuming that A, you located your search engine under measure one and it’s the default WordPress B and one, You got in your website in case you apply the most recent version of our plugin.
Get one in the event that you don’t have a search engine.
Here’s a piece of example code in this same doc you’ll additionally locate the requisites for a valid technical execution, from Google’s instruction manual.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://query.example.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
3. Set up a favorite canonical URL for your homepage
Measure three, and yet again, this one’s simple, you’ll understand after reading this post that is as great a time as any to install it. Google deems your website eligible and when you’ve done all of this, you might finally see something similar to the example above in the search results.