_query search in link

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 11, 2013   (RSS)

By Mikey - April 11, 2013

Andy, I've performed some test on one of my search engines and produced the same issue you're having. I resolved the issue by adding a minus to every word I wanted to exclude. So below is your query modified based on how I was able to drill down on something on my site - using minus to exclude.

<a href="listings_town_xref.php?town_query=-Javea-Benidorm-La-Xara-Denia " target="_blank">Check Towns</a>

You could also try dropping the "La" in "La Xara" and just exclude results with "Xara" and see if that works, as seen below:

<a href="listings_town_xref.php?town_query=-Javea-Benidorm-Xara-Denia " target="_blank">Check Towns</a>

Hope this helps out.

Zick

By andybarn - April 11, 2013

Hi Zik

Fantastic! - I used your 2nd suggestion and just put "-Xara" instead of "-La Xara"

Results come out exactly as I wanted them.

Thanks for your help Zik!

Best Regards

Andy