Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Search exclude nid

Security covered Maintenance fixes only 564 sites

Part of the Search ecosystem · 125 projects

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!

Drupal 9–11

Ask your assistant about Search exclude nid

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
5
Tracked since
Aug 2023
Latest release
11 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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
2.0.0-alpha2 Pre-release 9–10 Aug 9, 2023
2.0.0-alpha1 Pre-release 9–10 Aug 8, 2023