Experimental Project

This is a sandbox project, which contains experimental code for developer use only.


The Menu redirect module adds the ability to set a menu item to be a redirect which prevents multiple menu items from being in the active menu trail at the same time.

This module is only applicable to sites with very large information architectures (ie 1000+ pages) which would result in duplicate links being created in the menu system.

Use Case

A very common use case for this module is a page (ie About Us, Jobs, Calendar, etc..) that needs to be in both the primary and secondary links menus on a site but only the primary links menu item should be active when a user visits the page. The solution is to make the menu item in secondary links menu a redirect to primary links menu item.

Recommended Modules

  • Url alter: Utility module that adds new hook_url_alter() hooks for other modules to implement. Also replaces the need for custom_url_rewrite() functions in settings.php.

Project Information