This module allows you to create unique path aliases for each domain configured in your Drupal site, enabling the use of the same path alias on different domains without conflict. It prevents duplicate path aliases within the same domain, ensuring that each unique alias is tied to a specific domain.
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: