none
IIS 6.0 301 Redirect From Default.aspx to Root RRS feed

  • Question

  • I have a client who want to be able to 301 redirect from "/Default.aspx" to "/" or root.

    I have set up a 301 redirect in IIS (version 6.0). When I then go to Default.aspx it redirects me to the root but I am then redirected to the Root again in an infinite loop.

    I have tried doing the redirect in my code by chcecking the URL and adding suitable headers but when you go to the / page it still takes the URL as being /default.aspx.

    Does anyone know of a way to set up this redirect without it causing an inifinte loop?

    Any help woudl be much appreciated.

    Thursday, May 12, 2011 4:09 PM