Vanity URLs Part 2

22 Apr 2012 11:54
Last Modified
13 Jan 2013 18:14

I previously described an approach for supporting vanity URLs through the use of the MVC routing table. Since my hosting company now supports IIS7 Remote Administration, an alternative approach is to use IIS HTTP Redirection.

I simply add a folder to my web site, connect using IIS Manger and add an HTTP Refirect to the original URL. The advantage of this approach is that I can redirect URLs from the root web site (will not be parsed by the MVC routing table), such as: