I have used below given Schema.org code on my website, but still, I am not getting site links.
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "website-name",
"url": "https://website-name.com.au",
"potentialAction": {
"@type": "SearchAction",
"target": "https://prabingautam.com.au/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
Moreover, I am confused about which query-input
to use to get the site link search box. Either
"query-input": "required name=search_term_string"
or
"query-input": "required name=searchbox_target"