domain_unique_path_alias
90 sites
No security coverage
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: