: Using URL without query parameter for Sitelinks Searchbox? 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
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:
example.com/search?q={search-string}
Can any URL be used or does this only work with query parameters? For example:
example.com/search/{search-term}
More posts by @Connie744
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.