I’ve been trying to find a simple solution for creating a list of redirects for specific urls.
I want to define a list of old urls that IIS can intercept and 301 redirect to the associated new url.
the old urls are local, the new urls are on a different domain.
the new urls do NOT have the same url format, they will be completely new and different, so I don’t want a url rewriter that uses some kind of smart regex to automate this.
I was hoping for something where I can just pass in a list or xml file and it can take care of the rest.
Is such a feature built in to IIS or asp.net?
okay I figured out how to use the Url Rewrite Module for IIS 7. it does indeed do this, but not exactly in the way I wanted.
however there is support for mapping urls directly in the module, so after a bit of fenagling I got it to work.
This page was pretty helpful in figuring out some basic mappings: http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx