Streaming live at 10am (PST)

Schema for search help


#1

Hi :wave:

Looking for some help with this - https://developers.google.com/search/docs/data-types/sitelinks-searchbox

Trying to get google ‘search box, to show up in google results

The specific help I need with the code is what goes in the target field?

Here is what google has within their example.

@type”: “SearchAction”,
“target”: “https://query.example.com/search?q={search_term_string}”,

So what url goes the target field?

Hope that makes sense…

Thanks in advance


#2

Hi @RoseWebStudio, thanks for the post, in general, you would replace the part in the code to the link to your own search page:

https://query.example.com/search?q=

You can do a search on your own site, then copy the page url to get the example.

I hope this helps


#3

Thanks speedy…that was a quick reply, cheers. So it’s just the url of the search results page, didn’t think it would be that simple. Let’s do this…