Pathauto Enforce
Categories
Component ID
2270327
Component name
Pathauto Enforce
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1600
Component created
Component changed
Component body
This module provides two different functionalities:
- Ensure that for the selected content types and vocabularies, path aliases are always generated using the Pathauto patterns, and never arbitrarily by a user. For these bundles, the Pathauto option "Generate automatic URL alias" will always be checked.
- Ensure that for the selected content types and vocabularies, path aliases are never created using the node edit form (neither by Pathauto or by a user).
Note that this does not change, in any case, the update action of Pathauto, which can be set at the Pathauto Settings administration page (/admin/config/search/path/settings):
Or in the settings.php file:
// Delete old alias on update:
$conf['pathauto_update_action'] = PATHAUTO_UPDATE_ACTION_DELETE;
Similar modules
Functionality 1) is similar to what Pathauto persistent state module does, but Pathauto Enforce does not save data to the database for each entity, being much lighter (and enforcing Pathauto for all entities, without the need of setting custom permissions).
