Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Menu vs URL Alias

101 sites No security coverage Drupal 9–11
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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2025
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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