URL Rewriting is a method by which you can clean up the URL that is displayed to your Web site's users as well as do some SEO (Search Engine Optimization) on your site. So instead of having URLs like http://servername/products.aspx?categoryid=123, you can create a URL that looks like http://<server>/products/books.aspx. Internally, this gets automatically mapped to the correct URL for you. ASP.NET allows you to do this quite easily. And there are a number of free URL Rewriting components that are available as well. The one that I've used and highly recommend is UrlRewriting.net. (There is another one - also free - called UrlRewriter.net but one that I've had not too great experiences with.)
To get UrlRewriting.net to work, simply copy the provided DLL into the ASP.NET site's /bin folder. Next open up Visual Studio for the site and edit Web.config as follows.
Article Tags