All the examples I see to attempt to gain a search box in sitelinks in the SERPs use a target URL that has a URL parameter like so:


Can any URL be used or does this only work with query parameters? For example:


1 Answer 1


Of course it should be possible to use any kind of URL design. It wouldn’t make sense for Google to exclude many sites just because they don’t use the URL’s query component for the search function.

Did you check Google’s documentation? For the target property it says:

  • "This must be a URL that points to an address on the same domain as the content being searched."
  • "It must also include a variable name in braces that is a placeholder for the user's search query."
  • "Your server should assume and support UTF-8 values for user search queries."

So there’s nothing documented that would restrict which URL design is supported.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.