Folder Redirect

ScotTFO used Ask the Experts™
I am wondering if there is an easy way using web.config or another method to redirect individual folders.

The reason I want to do this is some folders are old and no longer in use, but sometimes traffic hits it.  So I would like to delete all that contents in the folder, drop 1 web.config file in that folder or something to that effect and specifiy any traffic that goes to that folder to be redirected to a different folder.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kyle AbrahamsSenior .Net Developer

No need for a web.config . . . an html redirect works just fine:

Senior .Net Developer
oh, just name the file default.html so it will pick it up automatically.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial