<p>How do I rewrite a URL in ASP.NET?</p>
<p>I would like users to be able to go to</p>
<pre><code>http://www.website.com/users/smith
</code></pre>
<p>instead of</p>
<pre><code>http://www.website.com/?user=smith
</code></pre>

Try the Managed Fusion Url Rewriter and Reverse Proxy:
http://urlrewriter.codeplex.com
The rule for rewriting this would be:
```
```
# clean up old rules and forward to new URL
RewriteRule ^/?user=(.*)  /users/$1 [NC,R=301]

# rewrite the rule internally
RewriteRule ^/users/(.*)  /?user=$1 [NC,L]
```
```