Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We are currently migrating some content that exists on a sharepoint 2007 environment to our sharepoint 2010 environment. We have been faced with scenarios where people have links in varios places (bookmarks, documents etc) to the old site, I would like these requests to be re-directed to our new location, however it can only be for certain sites as there is still a good amount of content not yet migrated on the 2007 server. For exmaple:

If a user goes to:

http://sp2007.mydomain.com/sites/compliance/documents/mydoc.pdf

I would like them to be redirected to:

http://sp2010.myotherdomain.com/sites/compliance/documents/mydoc.pdf

I am aware you can do something like this with an .htaccess file on apache but not sure how I could accomplish this in IIS.

share|improve this question

1 Answer 1

You can install and use the URL rewrite module for IIS, which is an extension for IIS Server version >7.

Get it from here: http://www.iis.net/downloads/microsoft/url-rewrite

Here are some articles about how to use it and create rewrite rules:

Using the URL Rewrite Module

Creating Rewrite Rules for the URL Rewrite Module

share|improve this answer

Your Answer

 
discard

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.