开发者

Drupal Exclude taxonomy listing pages from search

I have a Drupal 5 site that needs to have has taxonomny listing pages excluded in the search results. For instance http://site.com/category/role/guest-speaker returns a listing of all of the nodes tagged with gues开发者_JAVA百科t-speak in the vocabulary role.

I tried Advanced Search module. This just prevents searching for terms.

I then had a hunch that the lullabot tutorial would be of use, but don't think that I can filter on type.

Any ideas?


You can exclude it from google search by editing robots.txt

User Agent: *
Disallow: /category

Look up google on robots.txt for more details...


Don't know how well it works, but have you checked search config module?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜