Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module redirects users from the canonical page of selected content types to the site's front page. This is useful when you want to use content in blocks or other displayed elements without making its individual page accessible to visitors or search engines.

Redirects from the selected content types' canonical page to the frontpage.

Useful when you're using specific content types in blocks, banners, hero, sliders and you don't want those contents to have a separate page accessible by visitors or search crawlers (/node/nid or /taxonomy/term/tid etc). The content itself will be visible to the users if used elsewhere, this module just redirects from the canonical URL to the site front page.

The settings are saved to the site configuration.

Install

- After installing, go to /admin/config/content/content_redirect_to_front_settings form to set which content types and bundles should be redirected to the front page when the visitors open their canonical URL.
- You can set 2 permissions for this module:

  • Skip redirecting to front for all content: if a user has this permission, the redirections that were set on the settings form won't be applied. The admin user will behave like this. That means if Anonymous users don't have this permission, the redirections will be applied for them.
  • Access content_redirect_to_front settings form: this gives access to the redirection settings form.

Every time after changing redirection settings, you'll need to clear the caches.

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
9.0.9 Stable Dec 12, 2024