title: MVC Sitemap Provider Persist Parameters
body: <p>This has been driving me crazy for the last couple of hours. I am using the MVC Sitemap Provider to add breadcrumb functionality. </p>
  
  <p>Let me go through the steps of what I have done so I can make this as clear as possible</p>
  
  <ul>
  <li>Downloaded the resource from Nuget</li>
  <li><p>I then have the following in my sitemap</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  </code></pre>
  
  <p>
    
      </p>
  
  <pre><code>&lt;mvcSiteMapNode title="Vehicles" controller="Vehicles" area="Vehicles" action="Index"&gt;
    &lt;mvcSiteMapNode title="VehicleName" controller="Vehicles" area="Vehicles" action="Showroom" &gt;
      &lt;mvcSiteMapNode title="Overview" area="Vehicles" controller="Vehicles" action="Overview" /&gt;
    &lt;/mvcSiteMapNode&gt;
  &lt;/mvcSiteMapNode&gt;
  </code></pre>
  
  <p>
  </p></li>
  <li><p>And I have this in my view </p>
  
  <p>@Html.MvcSiteMap().SiteMapPath()</p></li>
  <li><p>My first questions is: How can I have in replace "VehicleName" for action Showroom, with my actual VehicleName?</p></li>
  <li><p>My actual problem is: My id is not persisted through to the parent. For example my url will be  localhost:44357/Vehicles/Overview/Soul/1, and the parent url will be  localhost:44357/Vehicles/Showroom, instead of localhost:44357/Vehicles/Showroom/Soul/1. The vehiclename in the url is optional, so the url can just be localhost:44357/Vehicles/Showroom/1.</p></li>
  </ul>
  
  <p>I hope this makes sense</p>
  
  <p>Thanks for your help.</p>