Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

URL path restrictions

Security covered Under active development 10 sites

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

Ask your assistant about URL path restrictions

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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
9 months ago
Releases (12 mo)
1
Maintenance
Slowing

Releases

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