The Home for
Magento Excellence

Explore. Discover. Elevate. #magento

162
Modules Tested
98
Ready for Magento 2.4
64
Need Your Help
Potentially Abandoned v1.0.0
Has Build Issues
May need fixes before use

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.

1,265
Downloads
Below average
4
GitHub Stars
Below average
6y ago
Last Release
1
Open Issues

Quality Score

0/2
Installs via Composer
DI compiles correctly
Templates compile
PHPStan

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.0 on Magento 2.4.8-p3
Dec 16, 2025
v1.0.0 on Magento 2.4.8-p2
Aug 14, 2025
v1.0.0 on Magento 2.4.8
May 21, 2025
v1.0.0 on Magento 2.4.7-p4
Feb 15, 2025
v1.0.0 on Magento 2.4.7-p3
Oct 20, 2024
v1.0.0 on Magento 2.4.7-p2
Sep 8, 2024

+4 older tests

GitHub Repository
Source code & docs
Packagist
Version history
Issues & Support
Get help or report bugs

This module needs community help

Composer installation fails. Your contribution could help the entire Magento community!

Help Fix This

Share This Module's Status

MarkShust_HierarchyComplexIdCompatibility Magento compatibility status badge

README

Loaded from GitHub

Table of contents

Summary

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.

Before

Before request_url table has been updated

After

After request_url table has been updated

Requirements

This module requires the hierarchy functionality which is only available in Magento Commerce.

Installation

composer require markshust/magento2-module-hierarchycomplexidcompatibility
bin/magento module:enable MarkShust_HierarchyComplexIdCompatibility
bin/magento setup:upgrade

Usage

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.

Error

License

MIT

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.

Back to All Modules