Breadcrumb webpart with page aliases

david ndlovu asked on October 23, 2019 13:21

Hi There

Can some please explain to in the pages application tab "URLS" section Page aliases,why does the breadcrumb webpart not use that instead of the Page URL Path? What i want to achieve is for the webpart breadcrumb to use the "Page aliases" to construct its urls

Recent Answers


Juraj Ondrus answered on October 24, 2019 11:35

The Page alias field is used to compose the URL of the item however the document name or "Menu caption" from the Navigation section are used to display the link text. So, you need to either change the page name, its menu caption or use e.g. a repeater to build your custom menu which will take the page alias into consideration.

0 votesVote for this answer Mark as a Correct answer

david ndlovu answered on October 24, 2019 11:40

Thank you

0 votesVote for this answer Mark as a Correct answer

david ndlovu answered on October 24, 2019 13:11

Hi Juraj

So on my site I have more than 4 languages and you access languages as sub-domains for example

fr.kentico.com and not kentico.com/fr

What ever language I navigate to, the breadcrumbs are always in English. I have read this https://docs.kentico.com/k9/references/kentico-controls/cms-controls/cms-controls-navigation/cmsbreadcrumbs but not helpful.

Please help

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on October 24, 2019 13:15

So, what are the page names in given cultures? As explained before, the page name is taken by default. Then, if the Properties -> Navigation -> Menu caption field is filled out, this value is used.

0 votesVote for this answer Mark as a Correct answer

david ndlovu answered on October 24, 2019 13:44

I did Properties -> Navigation -> Menu caption and gave it a caption called "Test1" which did work on the breadcrumb but the url is English when you hover over the text

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on October 28, 2019 05:51

IF you also want the URL to be different, then you need to use the page's Properties -> URLs section, the Path or pattern field and set the desired URL path. This field represents the DocumentURLPath column in CMS_Document table which holds the culture specific content.
Otherwise, the URL is composed based on the NodeAliasPath from CMS_Tree table, which is the same for all cultures since it is the same for all cultures.
For newly created pages, you can use the Settings -> URLs and SEO; Use name path for URL path setting. This will ensure that the value of Path or pattern field will be automatically generated based on the page's name (DocumentName column) in given culture.

0 votesVote for this answer Mark as a Correct answer

david ndlovu answered on October 28, 2019 08:13

Hi Juraj

You have been so helpful thank you

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.