title: ASP.NET MVC routing not working
body: <p>My routing is not working properly.  I have the following routes defined:</p>
  
  <pre><code>routes.MapRoute(
       name: "CategoryDetails",
       url: "{seoName}",
       defaults: new { controller = "Category", action = "Details" }
  );
  
  routes.MapRoute(
       name: "ContactUs",
       url: "contact",
       defaults: new { controller = "Home", action = "Contact" }
  );
  
  routes.MapRoute(
       name: "AboutUs",
       url: "about",
       defaults: new { controller = "Home", action = "About" }
  );
  
  routes.MapRoute(
       name: "Default",
       url: "{controller}/{action}/{id}",
       defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
  );
  </code></pre>
  
  <p>When I click on the about us or contact us links then it takes me to the details action method in the category controller.</p>
  
  <p>This is the markup for my about us and contact us links:</p>
  
  <pre><code>@Html.ActionLink("About", "About", "Home")
  @Html.ActionLink("Contact", "Contact", "Home")
  </code></pre>
  
  <p>My details action method for the category controller:</p>
  
  <pre><code>public ActionResult Details(string seoName)
  {
       CategoryViewModel model = categoryTask.Details(seoName);
  
       return View(model);
  }
  </code></pre>
  
  <p>What is wrong with my route configuration?</p>