SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Perfect, exactly what I was looking for. – RWL01 May 3 '12 at 15:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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