Hi Flow,
I have tried to implement Sitelinks Search Box using the SNIP plugin (see screenshot at: https://gyazo.com/0c9af357c7a4bea4a2bf622f9ea8e0c9). The code that is developed is as follows: https://gyazo.com/6767db744ea3386fbc4991202de7030c and the test results of the Google Rich Results Test indicates that I am missing the query-input field (https://gyazo.com/7bb0dab21fb7b36227a4baa6225c32b9).
Can you tell me why Google does not recognize the field?
Best,
Gil
Hey Gil,
and thanks for your comment.
The sitelink search box schema is a little odd to setup up. Lots of room for doing something wrong. I would recommend to just import this snippet here as a Global Snippet and you’re done right away: https://rich-snippets.io/snips/website-with-sitelink-searchbox/
Greetings
Florian
Thank you Florian.
I ended up implementing the supplied Global snippet and it does show up and Google is happy with the syntax, but the target URL is not listed correctly in the code generated (https://gyazo.com/f9da223c5be3363744e2cf5b4d86a901). I selected in the global snippel in the URL: Search URL with search term place holder.
The target should be “https://dessertadvisor.com/explore/?search_keywords={search_term_string}&sort=nearby” instead of “https:\/\/dessertadvisor.com?s={search_term_string}”. Thus, I have altered the global snippet so that the URL can be overridden, assuming that I will be able to change the URL for every specific page that has the sitelinks search box included.
Then, I went to the specific page that I want to change the URL. Clicked on the edit global snippet. Selected Sitelink searchbox global snippet and received the URL field(see screenshot:https://gyazo.com/1a4158bfe08a2d6a0dee3a2a94b6753e), but it does not allow me to edit the URL or replace it with my suggested URL.
Can you explain whether I am doing something wrong or would you suggest a different way of changing the URL?
Best,
Gil
Hey Gil,
I’ll try reproduce that locally and go back to you as soon as I know more.
Flo
Thank you.
Gil
Hey Gil,
I’ve checked this locally and you’re right: it can currently not been overwritten as the target field is a Intangible field according to schema.org. See here: https://schema.org/EntryPoint
However I can introduce a textfield with the next update (2.19.1) which will be out later this day.
Thank you, Flo. I look forward to receiving the instructions to apply the new update.
Best,
Gil
Hi Flo,
Can you tell me when update 2.19.1 will be available?
Best,
Gil
Hey Gil, 2.19.1 is already out since August 24. 2.19.2 was released yesterday. See version history.