title: Redirect from .aspx url to .aspx page
body: <p>I'm updating my asp.net page from asp.net 2.0 to MVC4.</p>
  
  <p>What I'm trying to do is to basically keep supporting the existing url:</p>
  
  <p><code>mypage.com/one.aspx</code> to be backwards compatible, except that I want to put all aspx pages in a aspx directory, so the new url would be <code>mypage.com/aspx/one.aspx</code>.</p>
  
  <p>If I type the url directly <code>mypage.com/aspx/one.aspx</code> it works and the page comes up.</p>
  
  <p>Now I'm trying to use RouteConfig to tell it to redirect one.aspx to <code>aspx/one.aspx</code>, but I see no way on how to do it. All RouteConfig examples I see use controllers, which is not what I want to do:</p>
  
  <pre><code>routes.MapRoute(name: "ONE", url: "one.aspx", defaults: new { controller = "Home", action = "Index" });
  </code></pre>
  
  <p>Is there a way to use MapRoute in RouteConfig to redirect to another aspx page? I'm using C# with MVC4.</p>