Changing the href link of breadcrumb.

giridhar Addagalla asked on October 31, 2018 15:21

Hi , Currently the kentico breadcrumb will use the pattern of href="shop/desktop/led" but my redirection request should be the key of the category, which mean that href="Productlist?category=led", for this i need to change the code in the breadcrumb, can you assets how to change the code in cmsbreadcrumb.ascx.cs. thanks.

Recent Answers


Rui Wang answered on October 31, 2018 15:47

By default, the breadcrumb uses the alias path for the page as URL which would be /folderpath + page name.

If you want to change that behavior to something else, one thing you can try without changing any code is go to the Properties tab of "led" > Navigation. For the Menu Action section, select URL redirection, and enter /Productlist?category=led there then test to see what happens.

0 votesVote for this answer Mark as a Correct answer

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