Vanity URLs Part 2

By
Dave
Project
Published
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:

http://{domain}/{slug}

Comments

By
esacudeyicuxi
21 May 2017 05:21
http://100mgcheapest-price-viagra.com/ - 100mgcheapest-price-viagra.com.ankor <a href="http://tadalafil-buy-5mg.com/">tadalafil-buy-5mg.com.ankor</a> http://20mgprednisone-order.com/

Add Comment

*
*
*
Captcha
*
*Required