MarkShust_HierarchyComplexIdCompatibility
markshust/magento2-module-hierarchycomplexidcompatibility
This module changes the functionality when saving a hierarchy, making these longer URL strings compatible with long URL identifiers containing subpaths.
Supported Magento versions: 2.4.9
1,265 installs★ 4 starsLatest: v1.0.0Released 2019-11-07License: MIT
composer require markshust/magento2-module-hierarchycomplexidcompatibilityREADME
Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.
The Hierarchy Complex ID Compatibility module makes the hierarchy compatible with long URL identifiers containing subpaths.
The hierarchy functionality of Magento Commerce prepends the URL identifier of parent nodes to children. This is ok for CMS pages with standard, simple URLs.
However, if the URL contains subpaths the hierarchy request paths will be setup incorrectly, leading to undesired route locations and breadcrumb links.
This module changes the functionality when saving the hierarchy, making these longer URL strings compatibile.
This module requires the hierarchy functionality which is only available in Magento Commerce.
composer require markshust/magento2-module-hierarchycomplexidcompatibility
bin/magento module:enable MarkShust_HierarchyComplexIdCompatibility
bin/magento setup:upgrade
This module has no configuration. Just install, then go to Admin > Content > Elements > Hierarchy, and re-save the hierarchy. The entire tree will be re-saved with the new request URLs.
In the event there are duplicate URLs in the tree, you will be notified. The hierarchy must not ever contain duplicate values for the request_path.
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues


