title: Asp.net MVC URL routing: issue changing URL when has parameters
body: <p>I need to change all the URLs in my MVC project, and thus far this has been quite simple - I've only had to change the URL string in all appropriate routes.MapRoute() in the global.asax.cs file. </p>
  
  <p>One link in particular is acting stubborn and won't change, and I'm sure it's because it is the only one with parameters. </p>
  
  <p>The mapRoute in question is:</p>
  
  <pre><code>routes.MapRoute(
              "Mortgage.GetThisRate",
              "mortgage-rates/mortgage-rate-details/{groupId}/{paymentType}/{mortgageValue}/{province}",
              new { controller = "Mortgage", action = "GetThisRate", paymentType = UrlParameter.Optional, mortgageValue = UrlParameter.Optional, province = UrlParameter.Optional },
              new { groupId = "\\d+", paymentType = "\\d+", mortgageValue = "\\d+", province = "\\d+" }
          );
  </code></pre>
  
  <p>And the button calling this mapRoute is:</p>
  
  <pre><code> @Html.OmnitureButton( Url.Action("GetThisRate", new { groupId = info.GroupId }), "&lt;span class=\"payment\"&gt;&lt;/span&gt;&lt;br /&gt;Get Details", new {@class = "orange"}, "events", "event3", "", "event3", "", "Mortgage LearnMore")
  </code></pre>
  
  <p>When this button is pressed, the URL it requests is: <a href="http://www.apps.mysite.net/Mortgage/GetThisRate/8/48/200000/1" rel="nofollow">http://www.apps.mysite.net/Mortgage/GetThisRate/8/48/200000/1</a> -  completely ignoring the URL string in its mapRoute method, it would seem.</p>
  
  <p>I've tried placing this mapRoute() at the top of global.asax.cs, to ensure it's not being ignored by a higher priority route, but the same problem persists.</p>
  
  <p>Anybody knowledgeable in MVC routing able to puzzle out what's wrong here? </p>