Sitemap attributes being added as query strings

Oct 7, 2009 at 9:29 PM

Hi there,

My navigation is split into two separate bars by subject matter, but the sitemap structure itself needs to remain standard. I decided to differentiate between subjects/bars using a custom attribute called "bar" that I'm adding to each node. Everything work fine and i'm able to filter the node collections using the attribute, however the attribute is being added as a query string to the URL. For example, /about?bar=1. I'm able to strip this out in the menu helper class, but I would like to know why it's happening and if it can be prevented without using url = url.Substring(0, url.IndexOf("?"));

Thanks,

-Derek

Coordinator
Oct 8, 2009 at 7:07 AM

Did you modify routing to have "bar" in there?