This project is not covered by Drupal’s security advisory policy.
Path Alias Force provides functionality to create forced aliases for entities in a multilingual environment while using the language hierarchy system. This means that whenever you create a node in a specific language and you have other languages which fallback to it, this module will automatically generate aliases for every other language besides the source one.
Notes
- This module decorates the
AliasStorageservice due to the necessity of overwriting thesave()anddelete()functionalities. - Updating the source node(fields which are used to generate the pattern of the path) will update the translations path as well.
- ContentEntityForms which contain path settings have been changed for translations with a fallback defined - Generate automatic alises has been unchecked so that updating any translation will not change it's pattern. Also only the admin is able to access the path settings in the form.
- Module provides the possibility to generate forced aliases for existing content and deletes them when the module is uninstalled.
Credits
The module has been developed for the Drupal 7 by Amazee Labs and you can find the module on GitHub: Path alias force. The single key difference is that I opted to update existing forced aliases instead of generating new ones when an entity is updated or created.
Dependencies
- Path - core module enabled by default.
- Language Hierarchy
Supporting organizations:
The company is the sponsor for the module.
Project information
- Project categories: Content editing experience, Multilingual, Administration tools
- Created by postovan dumitru on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

