Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

rabbit_hole

62,913 sites Security covered
View on drupal.org

What is this?

Rabbit Hole is a module that adds the ability to control what should happen when an entity is being viewed at its own page.

Perhaps you have a content type that never should be displayed on its own page, like an image content type that's displayed in a carousel. Rabbit Hole can prevent this node from being accessible on its own page, through node/xxx.

Options

This works by providing multiple options to control what should happen when the entity is being viewed at its own page. You have the ability to

  • Deliver an access denied page.
  • Deliver a page not found page.
  • Issue a page redirect to any path or external url.
  • Or simply display the entity (regular behavior).

This is configurable per bundle and per entity. There is also a permission that lets certain roles override Rabbit Hole completely.

Supported entities

Version Supported entities 8.x-1.x (stable, security fixes only) Nodes, Taxonomy terms, Users, Media entities, Commerce products, Groups, Files, Paragraph Library items
2.0.x (alpha, future version) All content entities 🥳

Additions

There is support for tokens when you are using the redirect option. However, it's recommended to install the Token module, which will provide you with a table of the available tokens.

Initial module development was sponsored by Odd Hill.

Rabbit Hole 2.0.0 development was sponsored by Evolving Web and DevBranch.

Additional modules

  • Rabbit hole href link alter, that rewrites the canonical link href directly to the redirect target instead of the entity to avoid the redirect.

Activity

Total releases
3
First release
Jan 2026
Latest release
1 month ago
Release cadence
31 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
2.0.0-beta2 Pre-release Mar 16, 2026
8.x-1.2 Stable Mar 16, 2026
8.x-1.1 Stable Jan 13, 2026