Zip code search guide
November 19, 2024 · AI Conversations
To search by zip code in GeoDirectory, you would generally use the `s` parameter, which can hold the postal code or any location identifier (like a city name or neighborhood). Here’s an example of a properly structured query to search by zip code:
geodir_search=1&stype=gd_place&s=27513&snear=&sstreet=&sgeo_lat=&sgeo_lon=
Explanation of the parameters:
– `geodir_search=1`: Indicates the search form for GeoDirectory.
– `stype=gd_place`: Specifies that you're searching for places.
– `s=27513`: The zip code to search for.
– `snear`: You can leave this blank or add a nearby location if needed.
– `sstreet`: Leave this blank for zip code-based search.
– `sgeo_lat` and `sgeo_lon`: Optional for precise geo-coordinates but can be left empty for a simple zip code search.
This query will search for locations in the zip code `27513`.