[This is preliminary documentation and subject to change]

# Redirecting Requests to a Directory

You can redirect requests for files in one directory to a different directory, to a different Web site, or to another file in a different directory. When the browser requests the file at the original URL, the Web server instructs the browser to request the page by using the new URL.

###### To redirect requests to another directory or Web site

1. In the IIS snap-in, select the Web site or directory, and open its property sheets.
2. Click the Home Directory, Virtual Directory, or Directory tab.
3. Select A Redirection to a URL.
4. In the Redirect To box, type the URL of the destination directory or Web site. For example, to redirect all requests for files in the /Catalog directory to the /NewCatalog directory, type /NewCatalog.

###### To redirect all requests to a single file

1. In the IIS snap-in, select the Web site or directory, and open its property sheets.
2. Click the Home Directory, Virtual Directory, or Directory tab.
3. Select A Redirection to a URL.
4. In the Redirect To box, type the URL of the destination file.
5. Select The Exact URL Entered Above to prevent the Web server from appending the original file name to the destination URL.

You can use wildcards and redirect variables in the destination URL to precisely control how the original URL is translated into the destination URL. For information, see Redirect Reference.

© 1997-2001 Microsoft Corporation. All rights reserved.