I am using web.sitemap to generate breadcrumbs in my website, but I have a page that can be navigated using multiple paths.
Is there a way I can support multiple paths using web.sitemap? If not, what is the alternative?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
a standard and valid web.sitemap can’t have duplicate urls ,so
I can think of 3 solutions :
1- take one path as standard path and define that in your web.sitemap
2- another choice is to set SiteMapPath control’s links urls programmatically based on how the user has came to the page .
3- and another solution could be using Url-rewriting . for each path that ends with this page create a separate url . this way you might could avoid duplicate urls