When I search for “New York, United States,” no results are returned, but when I search for “New York City, United States,” results are displayed. What could be causing this issue, and how can it be resolved?
Video demo of the problem in geolocation.
Hi,
Could you please clarify whether you have the regions option enabled in your geolocation settings?
If so, please send temporary WP access to support@hivepress.io, and we’ll check it (please send only the link, without login and password). You can create a temporary access link using this plugin.
You can also check in your demo website; it shows the same as in the above drive link.
Hi,
This issue occurs because the Regions feature is disabled by default (it’s also disabled on the demo site), since it requires more API requests. If you enable it and search by state, all the listings within the state will be returned. Without Regions, there’s a radius-based search only, so if you search by state without Regions enabled, only listings within a specific radius (calculated from the center of the searched state) are returned. You can enable this feature in HivePress/Settings/Geolocation How to set up regions - HivePress Help Center and update the existing listing or add a new one to generate regions for it.
Hope this helps
I need both futures. Can you please help me.
Both features will work if you enable Regions, for example if users search by region (e.g. state) there will be region-based search (since searching within radius from the center of the state makes no sense), but if there’s a more precise search (by city district, street, address, etc), then the radius-based search is performed.