-
Hi RankMath Support.
I have just received notification from Google Search Console that my site is now eligible for a Sitelinks SearchBox. Having just researched this, I understand the a snippet of schema source code (shown below) needs to be inserted into the homepage to enable this. I have also read that with the latest version of the Yoast plugin, the source code is already put right onto your site.
Is this the case with your plugin? Is the code already built into my site with RankMath? Or do I need to somehow insert the code manually into my site? I have been through all your settings on my Dashboard and I cannot find any reference to enabling the code for the Sitelinks Searchbox. I did find three previous support issues for Sitelinks Searchbox but they didn’t help me with this issue.
FYI, I do understand that just because the code is enabled on a site, it does not guarantee that the Searchbox will appear in Google as this is entirely up to their algorithm.
Thank you in advance for your help. I look forward to hearing from you.
Source code to be inserted (from Google)
<script type=”application/ld+json”>
{
“@context”: “https://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>
The ticket ‘Is Google's Sitelinks Searchbox Code in RankMath?’ is closed to new replies.