Jump to content

Custom Search Parameters - multi words


Rik Brown

Recommended Posts

I'm constructing simple custom parameter searches for cities (cat=162) in various countries as follows:

https://[domain]/search/search-results?cat=162&jr_country=france

That works fine for single word country names. But for multi word country names like "United States" or "United Kingdom" for which I replace the space with a hyphen (united-states), it fails.

From the documentation, it appears that using a hyphen to replace the space is the correct way of doing it.

What am I missing?

Thanks. -- Rik

Link to comment
×
×
  • Create New...