This article provides a workaround for the issue when you are not able to save “shipping” as a URL key (e.g., “/shipping”) for products or CMS pages. When you try to save the URL key, you receive an error that indicates that the URL key is a duplicate URL.
Adobe Commerce (all deployment methods) 2.4.x
You cannot save a CMS page with the term “shipping” in the URL key.
Steps to reproduce:
Create a CMS page with URL key as “shipping”.
The page saves with “shipping” in the URL key.
You cannot save and an error appears: The value specified in the URL Key field would generate a URL that already exists.
Shipping is a reserved word defined in
<router id="standard"> <route id="shipping" frontName="shipping"> <module name="Magento_Shipping" /> </route> </router>
You cannot use the term “shipping” in your URL key - however you can use the term “shipping” combined with another letter or number (For example, “shipping1” and “shipping2”). Although the term does not have to be “shipping”+<another number or letter> - the term could be any string as long as the length does not exceed 255 characters.
Perform the following steps: