ACP2E-4531: CMS hierarchy does not update the hierarchical URL when the child page URL key changes
The ACP2E-4531 patch fixes the issue where changing a CMS page’s URL key didn’t update the page’s hierarchical URL. This patch is available when the Quality Patches Tool (QPT) 1.1.79 is installed. The patch ID is ACP2E-4531. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8-p3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.8-p4
magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Changing a CMS page’s URL key does not update the page’s hierarchical URL.
Steps to reproduce:
- Create a CMS page (for example, help).
- Create a second CMS page (for example, my-account) and set help as its parent in the hierarchy.
- Load both pages from the Storefront, and both pages resolve correctly.
- Change the my-account page’s URL Key (under Search Engine Optimization) to my-account-2.
- Load
/my-account-2and/help/my-account-2from the Storefront.
Expected results:
When the CMS page URL Key changes, the hierarchy URLs are updated accordingly. /help/my-account-2 resolves to the page, and /my-account no longer resolves (no such URL exists).
Actual results:
/my-account-2 redirects to /my-account, and /help/my-account-2 returns a 404 error. The hierarchical URL is not updated when the child page URL key changes.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.