title: Routing Issues MVC4
body: <p>I want to have my URL to be /{page number} for my home page for example localhost:50915/1 for page 1 for a list of records, my URL routing is as follows:</p>
  
  <pre><code>public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
              name: "EditForm",
              url: "{controller}/{formid}",
              defaults: new { controller = "ManageForm", action = "Update", id = UrlParameter.Optional }
          );
  
          routes.MapRoute(
              name: "Home",
              url: "{page}",
              defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
          );
  
          routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
          );
      }
  </code></pre>
  
  <p>The second MapRoute method is the one which I added to perform the desirable action. It works perfectly fine, but whenever I try to access another Controller "ManageController" for e.g localhost:50915/ManageForm it returns me the home page (same page showing the list of records).</p>
  
  <p>Here is a snapshot of my solution:</p>
  
  <p><img src="https://i.stack.imgur.com/mZl1U.jpg" alt="Solution Snapshot"></p>
  
  <p>Whenever I tried to remove the lines of codes which perform this URL rerouting for the Home Page pagination, everything works fine, but of course the URL will be as localhost:50915?page=1</p>
  
  <p>My HomeController is as follows:</p>
  
  <pre><code>public class HomeController : Controller
  {
      //
      // GET: /Home/
      [HttpGet]
      public ViewResult Index(int page = 1)
      {
          const int pageSize = 4;
          FormCollection forms = FormService.GetAllActiveForms(page, pageSize);
  
          var formModel = new FormListViewModel
          {
              Forms = forms,
              PagingInfo = new PageInfo
              {
                  PageNumber = page,
                  PageSize = pageSize,
                  TotalItems = forms.Count &gt; 0 ? forms[0].TotalRecord : 0
              }
          };
  
          return View(formModel);
      }
  }
  </code></pre>
  
  <p>Help much appreciated thanks.</p>