We are in the process of creating a new site. The old site used IIS 7 / .html exclusively and the new site is using IIS8 / .aspx. Our thinking was that as existing functionality became available we could remove the old pages and take advantage of custom error pages redirection to aid in the transition.
Our initial test was to modify the 404 error page to do the redirect. Two things became apparent. First the old site was being programmatically by a lot of unwanted bots. Two,and most importantly, we could not figure out how to pass as a parameter the page on the old site being accessed. This is important so that old pages can be mapped to new pages.
Any ideas on how this can be done are greatly appreciated.