You can use Display name in two ways as following:
1. Rename item names with special characters.
When you create an item in Sitecore, you assign it an item name. Sitecore does not allow you to use special characters in the item name. This is because item names are used in URLs.
But using Display name you can rename item name with a special character. By default, the display name and the item name are identical. While creating a new item, the Display Name will be blank.
You can set Display name either from Rename Section under the Home tab in the menu as shown in the screenshot below or from the Appearance tab.
Screenshot 1: Display name with a special character:-
2. Create a language-specific URL.
English (en) version URL:
http://sc902.local/en/post
French (fr-FR) Version URL:
http://sc902.local/fr-fr/publier
You can create language-specific URL using the display name as shown in screenshot 3 below:
After creating a display name you just need to visit the URL by inserting language in the URL before the item display name. Make sure you add URL friendly display name.
References:
https://doc.sitecore.com/developers/81/sitecore-commerce/en/edit-a-catalog-display-name.html
https://doc.sitecore.com/users/93/sitecore-experience-platform/en/use-special-characters-in-an-item-or-page-name.html
No comments