Implementing Sitelinks Search Box

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

9 thoughts on “Implementing Sitelinks Search Box

  1. 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

Leave a Reply