Tidbits on software development, technology, and other geeky stuff

Redirecting Old Pages with IIS 7 and the URL Rewrite Module

I am a change-a-holic.  I am constantly changing, re-factoring, deleting, moving, renaming, etc. all in the name of progress.  It’s intentional, of course, and I learned to embrace change when I started following the principles of Extreme Programming like Refactor Mercilessly.

An elegant way to handle change when it comes to renaming and moving pages around within an ASP.NET web application is to take advantage of the IIS 7 Rewrite module.  With this strategy in place I can easily add redirects to a single xml file and update it as needed.

Here’s how to get it setup:

Discuss on Twitter