title: How do I 301 redirect /Home to root?
body: <p>Here is my route in Global.asax to remove /Home:</p>
  
  <pre><code>    routes.MapRoute("Root", "{action}/{id}",
          new { controller = "Home", action = "Index", id = UrlParameter.Optional }
     );
  </code></pre>
  
  <p>Well I need to setup a 301 redirect because someone linked to /Home and they're getting a 404.</p>
  
  <p>So how do I setup the 301?</p>
  
  <p>I checked the way the route was setting up and it is looking for a "Home" action method in the "Home" controller.</p>
  
  <p>So obviously I could add:</p>
  
  <pre><code>public ActionResult Home() {
      Response.Status = "301 Moved Permanently";
      Response.RedirectLocation = "/";
      Response.End();
      return Redirect("~/");
  }
  </code></pre>
  
  <p>However, there's gotta be a better way of doing this right?</p>