Create a Page Redirection from a Folder in IIS 7
Posted by Russell Wright on November 23, 2010
Let’s say you have a URL: http://mysite.whatever.com/help and you want to create a redirection in IIS7 so it goes to a particular help page. Here’s a way you can do it using the HTTPRedirectionModule in IIS.
First you have to make sure the HTTP redirection module is installed in IIS.
In Server Manager, you can navigate to the Web Server (IIS) and enable the HTTP redirection module.
This will make the HTTP Redirect feature available.
Confirm to install.
This process takes several minutes. No reboot is necessary.
Add the virtual directory to the web server name on all web sites.
Create the physical folder for the virtual directory in the SharePoint web site folder.
In this case, it is c:\inetpub\wwwroot\wss\VirtualDirectories\mysite.whatever.com80\help.
Set the redirect for the virtual folder. Make it a permanent redirect (301).
Test it out.
should redirect to:
or whatever page you entered.