IIS rewrite from an IIS web site to a site on a SharePoint server.

Posted on 2014-12-09
Last Modified: 2014-12-23
Hi, we have an old .NET application running on IIS 7 that has been redeveloped in Sharepoint.  
The issue I am having problems with is all the OLD links and favourites that people have lay around.  We can just switch off and break them so need to find some way of redirecting to the same source document but in SharePoint.

For example:

We need it to be redirected BY IIS7 on  to

The BOLD bit is the actual document name and stays the same.

The old link could start with ANY of :-

The new link will always start with:-  followed by the document name.

Any ideas on how this could be achieved?


Question by:Neil Russell
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 10

Expert Comment

by:Mohit Nair
ID: 40490607
Try adding an entry in IIS > IIS redirect. There you would find an option to put the old url and redirect to url.
LVL 37

Author Comment

by:Neil Russell
ID: 40495818
Well ok given the above, can you explain how that is achieved?
Add a redirect is hardly an answer to a question that explain in depth exactly what needs to be achieved.

Accepted Solution

Ray earned 500 total points
ID: 40501347
You'll first need to install Microsoft URL Rewrite Module 2.0 on the IIS running the old .NET application

The rewrite module in IIS7 has a very user-friendly interface. Here's the documentation

Your Pattern will be similar to*)

And Action similar to{R:1}
LVL 37

Author Comment

by:Neil Russell
ID: 40514460
Regardless of how I do the rule It seems to be ignored and I get a 404 error for ANY url starting with
LVL 37

Author Closing Comment

by:Neil Russell
ID: 40514476
With a little work I finally have a working redirect now :D


Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question