views:

24

answers:

1

I have written an app to replace a single page and need to redirect the requests for the old page to the new app.

In IIS, how would I redirect the request for

http://www.mysite.com/foo.aspx

to

http://www.mysite.com/bar/default.aspx

Thanks!

A: 

What you need is URL rewriting. There are a number of options. Some are discussed in this question:

http://stackoverflow.com/questions/90112/iis-url-rewriting-vs-url-routing

spoulson