title: URL Rewrite Default Document Web Page to SEO URL
body: <p>I have started using ASP.NET Routing for my site. I have been registering routes via the Application_Start() in my Global.asax file.</p>
  
  <p>i.e.</p>
  
  <pre><code>routes.MapPageRoute("ROUTE-ABOUT", "about", "~/About.aspx");
  routes.MapPageRoute("ROUTE-CONTACT", "contact", "~/Contact.aspx");
  //etc...
  </code></pre>
  
  <p>This is working perfectly for the About and Contact pages.</p>
  
  <h2>What I Want:</h2>
  
  <p>My home page is Home.aspx and what I wanted to do is rewrite anyone that visits </p>
  
  <pre><code>http://localhost/mysite.com/Home.aspx 
  </code></pre>
  
  <p>to </p>
  
  <pre><code>http://localhost/mysite.com/Home 
  </code></pre>
  
  <h2>What I've Tried</h2>
  
  <ul>
  <li>I have my site running in my local IIS v7.5 on my machine (full
  administrator privileges). </li>
  <li>I have added the following to my Web.config</li>
  </ul>
  
  <p><strong>Web.config</strong></p>
  
  <pre><code>&lt;rewrite&gt;
      &lt;rules&gt;
          &lt;rule name="HOMETOSEO" stopProcessing="true"&gt;
              &lt;match url="Home\.aspx" /&gt;
              &lt;action type="Redirect" url="home" appendQueryString="false" /&gt;
          &lt;/rule&gt;
      &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>Thanks in advance</p>