This project is not covered by Drupal’s security advisory policy.
The Search Query Exclude module, allows site administrators to easily control the search results by providing a query to exclude nodes from the search result.
Use Cases:
1) Exclude nodes with php code using the default query provided
select nid from node_revisions where body like '%<?php%' group by nid
2) Exclude test nodes using the query
select nid from node_revisions where title like '%test%' OR body like '%test%' group by nid
Inspired from: http://www.blinkreaction.com/blog/be-aware-nodes-with-php-code-and-drupa...
Code taken from: http://www.lullabot.com/articles/hiding-content-drupals-search-system
Project information
- Project categories: Site search, Developer tools
1 site reports using this module
- Created by technikh on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

