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.

1 Answer 1


This should be possible with very popular and widely used Add-on for IIS - the Url Rewriter. You can install it using Web Platform Installer. Here are some quick starts for you:



Looks like you may need to write as many rules as sub sites. A redirection rule can be added for a sub site when it is migrated.

  • Perfect, exactly what I was looking for.
    – RWL01
    Commented May 3, 2012 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.