Hi guys,
I’m trying to add a Sitelinks Searchbox in the structured data of my website .
According to Google’s documentation that you can find here:
https://developers.google.com/search/docs/data-types/sitelinks-searchbox
I need the URL of the internal search engine of my website. I have installed a Wix Site Search , but I have no idea where to retrieve its URL.
This is a markup example that would implement a Sitelinks Searchbox that uses a website’s custom search engine:
<html>
<head>
<title>The title of the page</title>
<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>
</head>
<body>
</body>
</html>
To make this code work, I need to retrieve this URL:
https://query.example.com/search?q={search_term_string}
To be more specific:
https://query.example.com/search
Can someone help me? Is it possible to do it/does this URL exist in Wix?