title: How to fix the Url (~/Views/Home/Index.cshtml) when run from view
body: <p>I'm using MVC 4 VS 2012 Express for Web to develop a site. Usually when I directly run from the view, for example Index View in Home Controller, I got '<a href="http://localhost:62335/" rel="nofollow">http://localhost:62335/</a>' on the url address bar, but now I got <a href="http://localhost:62335/Views/Home/Index.cshtml" rel="nofollow">http://localhost:62335/Views/Home/Index.cshtml</a></p>
  
  <p>I don't change the routing on RouteConfig class, as you can see in the code below</p>
  
  <pre><code>public class RouteConfig
  {
      public static void RegisterRoutes(RouteCollection routes)
      {
          routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
          routes.MapRoute(
              name: "Default",
              url: "{controller}/{action}/{id}",
              defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
          );
      }
  }
  </code></pre>
  
  <p>Why this could happen and how to fix it?</p>