Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Search exclude nid

534 sites Security covered Drupal 9–11
View on drupal.org

This module allows you to exclude specific nodes from your site's search results by entering their node IDs into a list. This prevents pages that display dynamic content, like node listings, from appearing as unwanted search results.

Sometimes it's necessary to exclude single nodes from the site search. An example use case would be, if you use the module "Insert view" to insert views into the body text of a node, which outputs a list of other nodes. A common problem is here, that the listing node is found as a second unwanted search result as it displays content of the listed item as its own (body) content. With this tiny module you can exclude these listing pages or other unwanted node pages from the search result by entering their node ids into an exclusion list.

This module does exactly this and nothing else.

Alternative modules, which offer similiar (much more) functionality:
http://drupal.org/project/custom_search
http://drupal.org/project/search_config

If you need the same functionality for Search API have a look at:
https://www.drupal.org/project/search_api_exclude

Credits

This module was built with the support of Sparks Interactive - a New Zealand company supporting the Drupal Community!

Depends on

Dependencies of the latest stable release

  • search Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Sep 2025
Latest release
10 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.0.1 Stable 9–11 Oct 27, 2025
2.0.0 Stable 9–11 Sep 30, 2025
2.0.0-alpha3 Pre-release 9–11 Sep 29, 2025