This project is not covered by Drupal’s security advisory policy.
Overview
This module allows to create the same path alias for different domain. A new property domain_id is added to the path_alias entity type.
Use Case
- Create node 1 (alias /contact, domain source: domain1)
- Create node 2 (alias /contact, domain source: domain2)
Before

After
- Access: domain1.example.com/contact (node 1)
- Access: domain2.example.com/contact (node 2)
Now, an error message appears when you try to add the same alias to the same domain.
- Create node 3 (alias /contact, domain source: domain1)

Example of path_alias table:

Supporting organizations:
| Attachment | Size |
|---|---|
| same-path-alias-constrains.png | 24.29 KB |
| same-path-alias-domain-constrains.png | 59.06 KB |
| path_alias_table.png | 76.91 KB |
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.- Project categories: Content editing experience, Administration tools
- Ecosystem: Domain
85 sites report using this module
- Created by s1933 on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.1-beta5
released 2 September 2025
Works with Drupal: ^9.4 || ^10 || ^11
Install:
Development version: 1.x-dev updated 10 Nov 2025 at 19:45 UTC
