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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). 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 prevents Drupal from creating URL aliases or routes that start with specific disallowed paths. This is useful for avoiding conflicts with non-Drupal applications or special directories on your website.

This module allows you to disallow certain paths in URL aliases. For example, if "/api" is a special folder in your web site's document root, then you can prevent Drupal from creating any URL aliases that start with "/api".

Features

You might need this module if you want to restrict the URL paths used in URL aliases. For example, if your Drupal website lives at https://www.example.com/, and you have a non-Drupal app at https://www.example.com/different-app, then you might not want someone to create a Drupal page that is available at /different-app/my-page (because the request to that URL might be handled by the app under /different-app path).

This module integrates with both URL aliases (from core's Path module) and with other routes. That is, you can prevent both URL aliases and routes from being set if they conflict with your list of disallowed URL paths.

Post-Installation

See README.md

Additional Requirements

- Path module (from Drupal Core)
- Pathauto

Activity

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

Releases

Version Type Release date
1.0.0-beta1 Pre-release Jan 14, 2026
1.0.x-dev Dev Oct 15, 2025