URLs of dynamic content items
Dynamic content types support additional URLs for their items. When you change the title or the URL of an item, this is not going to break any existing links that navigate to it. When you open an item on the frontend, the URL that you set last is displayed.
This is also valid for content types that have hierarchical structure. The URL for an item is created by combining all of the parent item’s URLs. For example ~/page/item-1/item-2/item-3/item-4, where item-1 is parent of item-2, etc. For these scenarios keep in mind the following cases:
- If you change the URL of an item that is in the lowest level of the hierarchy, its previous URL continues to work.
For example, if you have an item with URL~/item-1/item-2and change the URL ofitem-2toitem-2-edit. When you openitem-2on the frontend, its URL is~/item-1/item-2-edit, but~/item-1/item-2is still active. - If you change the URL of an item that has child items, the URLs of the child items are updated.
For example, if you have an item with URL~/item-1/item-2and changeitem-1toitem-1-edit. When you openitem-2on the frontend, its URL is~/item-1-edit/item-2, but~/item-1/item-2is still active. - If you break the hierarchical structure of dynamic content types, prevents the hierarchical URLs.
For example, if you have an item with URL~/item-1/item-2and detach the two content types so that both are on a one level of hierarchy. When you openitem-2on the frontend, its URL is~/item-2, but~/item-1/item-2is still active. - If you have hierarchical content types and a parent item has two or more URLs, when you a create child item, its URL is generated using the current URL of the parent.
For example, if you have a parent item with URL~/item-1and change it toitem-1-edit. When you createitem-2that is child ofitem-1, its URL is~/item-1-edit/item-2. The URL~/item-1/item-2returns error 404 – page not found.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.