Improve CMS Page URL Key comment with implications for reference updates #4970
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR improve?
This PR enhances the comment shown for the "URL Key" field in the CMS Page admin form. The new note informs administrators that changing the URL Key may require updating all references to the page in CMS blocks, widgets, layouts, templates, external/internal links, and any custom extensions or modules.
Why was this change made?
Previously, the only help text was "Relative to Website Base URL," which is technically accurate but does not warn about breaking references elsewhere in the site or custom code. Modifying the URL Key for a CMS Page can cause broken links or missing content if the identifier is used in:
{{page url="identifier"}}
)Adding this note helps administrators understand the potential impact and avoid unintended issues after changing the URL Key.
Before
After