Avatar of Neil Russell
Neil Russell
Flag for United Kingdom of Great Britain and Northern Ireland asked on

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

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:
OLD LINK -  http://dontknowhow.domain.com/documents/PatientLeaflets/insulin%20adjustment%20guidelines%20-%20basal%20bolus%20rapid%20acting%20analogue.pdf

We need it to be redirected BY IIS7 on dontknowhow.domain.com  to
NEW LINK - http://sharepoint.domain.com/Documents/insulin%20adjustment%20guidelines%20-%20basal%20bolus%20rapid%20acting%20analogue.pdf

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:-
http://sharepoint.domain.com/Documents  followed by the document name.

Any ideas on how this could be achieved?


Microsoft SharePointMicrosoft IIS Web ServerWeb Development

Avatar of undefined
Last Comment
Neil Russell

8/22/2022 - Mon
Mohit Nair

Try adding an entry in IIS > IIS redirect. There you would find an option to put the old url and redirect to url.
Neil Russell

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.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Neil Russell

Regardless of how I do the rule It seems to be ignored and I get a 404 error for ANY url starting with

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Neil Russell

With a little work I finally have a working redirect now :D