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.

Menu vs URL Alias

90 sites No security coverage
View on drupal.org

This module ensures that content editors choose either a menu-based path or a custom URL alias, not both. It provides a configuration option for each content type to enforce this choice and improve URL management.

Connects the stock URL alias and menu settings tabs on node edit forms. If the menu item is enabled, the vertical tab and fields related to the alias will be hidden; conversely, if the menu item is not enabled, a custom alias is required.

The goal of this module is to enforce better URL naming conventions by forcing content editors to pick between either menu-based paths (most likely using Pathauto) or a completely custom path that does not rely on the menu. For best results, it's recommended to also hide the URL alias tab (using a module like Simplify, perhaps) for content types that rely on a fixed pattern, although there are no additional dependencies to require this specific convention.

To enable this functionality, edit a content type and enable the feature on the "Menu vs URL Alias" vertical tab.

Activity

Total releases
2
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
2.1.0 Stable Oct 14, 2025
2.1.x-dev Dev Oct 14, 2025