/search_exclude

Exclude content types from Search for Drupal 8.

Primary LanguagePHP

Search Exclude

Exclude content types from node search for Drupal 8.

search_exclude

Installation

Download and enable the search_exclude module.

Configuration

  1. Go to /admin/config/search/pages.
  2. Find the 'Search pages' config.
  3. Create a new 'Content (exclude)' search page.
  4. Under 'Exclude content types', select the content types to exclude from the search index.
  5. Save.
  6. Disable the default Content search and make your new search page the default.

License

http://www.gnu.org/licenses/old-licenses/gpl-2.0.html