Russ' Do It Yourself Home Workshop

Finding Fixes to Just About Anything and Everything

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.

clip_image002

In Server Manager, you can navigate to the Web Server (IIS) and enable the HTTP redirection module.

clip_image003

This will make the HTTP Redirect feature available.

clip_image004

Confirm to install.

clip_image006

This process takes several minutes. No reboot is necessary.

clip_image008

Installation complete!

clip_image010

Add the virtual directory to the web server name on all web sites.

image

Create the physical folder for the virtual directory in the SharePoint web site folder.

image

In this case, it is c:\inetpub\wwwroot\wss\VirtualDirectories\mysite.whatever.com80\help.

image

Set the redirect for the virtual folder. Make it a permanent redirect (301).

image

Test it out.

http://mysite.whatever.com/help

should redirect to:

http://mysite.whatever.com/pages/help-faq.aspx

or whatever page you entered.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: