开发者

Drupal Exclude taxonomy listing pages from search

开发者 https://www.devze.com 2022-12-21 22:04 出处:网络
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 tagg

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

精彩评论

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