Drupal is a registered trademark of Dries Buytaert

Search API can index content but Rabbit Hole can prevent content from being accessed.

This module provides a Search API Processor that prevents indexing of content items that have Rabbit Hole enabled and are using Rabbit Hole's 'Access Denied' or 'Page Not Found' plugins by default (but can be configured to prevent indexing of whichever you want).

Example usage

  1. Set up Node Articles to use Rabbit Hole
  2. Set up a Search API Index to index Node Articles
  3. Create an Article 'An article that should not be found' and set it to 'Access Denied'

Without this module, 'An article that should not be found' will be a result in your Search (but clicking it will still lead to access denied).

With this module enabled and configured 'An article that should not be found' will be excluded from being indexed and appearing as a result.

Post-Installation

  1. Go to your Search API index -> Processors.
  2. Enable "Indexing Rabbit Hole Filter"

Additional Requirements

This module only works if you have both Search API and Rabbit Hole enabled.

Activity

Total releases
3
First release
Apr 2025
Latest release
10 months ago
Release cadence
1 day
Stability
67% stable

Release Timeline

Releases

Version Type Release date
1.0.1 Stable Apr 24, 2025
1.0.0 Stable Apr 23, 2025
1.0.x-dev Dev Apr 23, 2025