How to exclude certain paths from search
Hi,
I have 2-3 directories/folders I would like to exclude from ALL searches. I have read elsewhere that "-inurl:domain/path" should work to do this. But I don't know where to put this code.
I tried adding it in line 2 of the Yahoo/BOSS_include.php file as such
$url = 'http://boss.yahooapis.com/ysearch/web/v1/-inurl:domain/path'.urlencode($term).'?appid='.$appID.'&view=keyterms&sites='.urlencode($sites).'&abstract=long&count='.$count.'&format=xml&start='.$start;
but this apears to break the search (No Results Found) without my modifications the search works great.
This is the web site whee I am trying to get this to work www.oeshealth.org
I would appreciate any help.
Thanks,
Dennis