Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web.config file that I use to redirect specific pages for SEO reasons.

I want to redirect the content of one folder to another folder on the same site, But I don't know how.

       <httpRedirect enabled="true" exactDestination="true"  httpResponseStatus="Permanent">
           <add wildcard="/forms/newsconfirmH.htm destination="/forms/NewsletterformH.htm" />

Please help.

share|improve this question

Make sure that HTTP Redirection is installed on your server. It is not available on the default installation of IIS 7. To install it, use the following steps (Windows Server 2008 or Windows Server 2008 R2):

  1. On the taskbar, click Start, point to Administrative Tools, and then click Server Manager.
  2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).
  3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.
  4. On the Select Role Services page of the Add Role Services Wizard, expand Common Http Features, select HTTP Redirection, and then click Next.

Then, put this in the web.config in the folder /pro/bcn

    <httpRedirect enabled="true" destination="" />
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.