I need to migrate an entire site collection to another site collection. For various reasons, this process could take several days. We plan to migrate one sub-site at a time. While this process is going on, I would like to do an intelligent redirect.
For example: http://mycompany/sites/SC1/mypage.aspx?x=123 will redirect to http://mycompany/sites/SC2/mypage.aspx?x=123.
I know how to do this at the IIS level for a web application but haven't found a way to do it at the site collection or sub-site level.