GeoDirectory SupportNear Search: How to handle location disambiguation? – GeoDirectory Support https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/feed Thu, 25 Dec 2025 08:13:30 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5553 <![CDATA[Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5553 Sun, 22 Jun 2014 12:27:31 +0000 marco7 Example:

-I look for places near a local tourism region but I get results ordered by the distance from another location 10000 km away (unfortunately another region with the same name in Colombia)

Is there a way to exclude the unwanted locations from the search results? or override the search by adding the location/region by default?

I tried the following without success:

-GD>Multilocations>Location Settings. Enabling selected countries or region

-GD>Multilocations>Add Edit Location. I created a new location and I called it with the term I wanted to replace in the search.

Could you please suggest a solution?

Thanks

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5554 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5554 Sun, 22 Jun 2014 12:31:05 +0000 Guust Have you set “Limit squared distance area to X miles (helps improve search speed)” in GD > General > Search ?
Can you let us know if that fixed it or not?

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5555 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5555 Sun, 22 Jun 2014 12:56:04 +0000 marco7 Hi Guust,

Thanks for the quick reply.

I also tried that and I still have the same problem

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5556 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5556 Sun, 22 Jun 2014 12:58:21 +0000 Guust Mmmm, better pass this one to Vikas.
While we wait for Vikas, can you post URL and WP admin access details in a private post please?

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5573 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5573 Sun, 22 Jun 2014 16:44:48 +0000 marco7 https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5609 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5609 Sun, 22 Jun 2014 23:26:33 +0000 purpleedge It used to be that the “Search Near” would order results by distance from the search location, and show the distance – I don’t know if newer version is also meant to filter to the entered location?

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5741 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5741 Mon, 23 Jun 2014 18:43:12 +0000 Paolo hi,

results are order by distance from the location entered.

“Salento Puglia” works, because for Google Maps “Salento” as a tourist region doesn’t exist.

In fact, if in Google Maps (.it) itself you search for “Salento” it will return as only result a city near Salerno : https://www.google.it/maps/place/84070+Salento+SA/@40.2484681,15.1908607,17z/data=!3m1!4b1!4m2!3m1!1s0x133ead16bb767859:0xf1f18e9e18088b36

If you use Google Maps .com, it will return a city in Colombia as first result.
https://www.google.com/maps/place/Salento,+Quindio/@4.594645,-75.51396,12z/data=!3m1!4b1!4m2!3m1!1s0x8e3892bcedc420e5:0x8f81edeeadd699ba

Only by searching Salento Puglia Google Maps is able to recognize the area, only because there are places with Salento in their name located in that area:

https://www.google.it/maps/search/salento+puglia/@41.0080599,16.7272393,8z/data=!3m1!4b1

We would have to ask Google Maps to modify their databases to fix this… 🙁

Sorry about it,

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5766 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5766 Mon, 23 Jun 2014 20:38:23 +0000 marco7 https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5787 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5787 Mon, 23 Jun 2014 22:53:59 +0000 Paolo Hi Marco,

the reason why it’s returning results from colombia is (probably) because you are using everywhere location.

In that case the search is performed worldwide.

Example:

1 if I search Monument near salento here: http://wpgeo.directory/?geodir_search=1&stype=gd_place&s=monument&snear=salento&sgeo_lat=4.633333299999999&sgeo_lon=-75.56666669999998

It will give me the same result as in your website.

But if I select one of the locations (new york for example) before searching, you will get no results found, as it will work as expected.

Now if you are using country restrictions, it shouldn’t search everywhere in the world, but only in those countries. Ive checked on our demo and unfortunately it doesn’t.

I’ll refer to Vikas so that he can improve the script.

Thank you!

]]>
https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5850 <![CDATA[Reply To: Near Search: How to handle location disambiguation?]]> https://wpgeodirectory.com/support/topic/near-search-how-to-handle-location-disambiguation/#post-5850 Tue, 24 Jun 2014 09:19:03 +0000 marco7 Hi Paolo,

I did solve this little glitch by redirecting the search results, just by using a 302 and a list of common keywords used in the search.

I’m not a developer and I know you are already very busy working on GD, but I think it would be really good to override google sometimes.

Something like being able to redirect some search results according to our needs, I’m not asking for a new plugin, I would be happy even with few lines of code.

For example If I use New York as a location in http://wpgeo.directory/

I’m looking for a tavern near Canal Street Subway station, so I just write “Tavern” and “Canal Street” OR “Canal St”.

As result I’m getting one of your test listings Gramercy Tavern, but the distance is calculated from Canal Street in Brattleboro, VT, 160 miles away.

Thanks for the support,
Marco

]]>