How To Redirect Certain Pages In IIS


Have you ever wanted to disable redirection for certain pages in IIS 7?



1.  Create an empty file called Index.html in the ROOT directory for which you want to redirect.

2.  Now go to Content View, select Index.html, and choose HTTP Redirection

3.  Set the URL for where you want requests to redirected.

4.  Now you are good to go.  Any request that comes in using the default document will be redirected, and any request that comes in to a specific URL will not be redirected.  This comes in handy if you have a Sitmap HTTP Handler.



No notes apply to this topic.

Add comment

  Country flag

  • Comment
  • Preview