Redirect a single file using IIS
I ended it finding it on my own. It was easy after I found the "Switch to Feature View" context menu in IIS Manager.
- If you don't have HTTP Redirection installed you'll have to install it. From the Control Panel select "Turn Windows Features on or off", then browse to
Internet Information Services
>World Wide Web Services
>Common HTTP Features
and selectHTTP Redirection
; - Boot up IIS Manager (
inetmgr.exe
); - Browse for your file (you may have to change to Content View to see it);
- Right-click the file and select "Switch to Feature View". The file now appears in the Connections tree.
- Select the file in the Connections tree, then double-click "HTTP Redirect";
- Select "Redirect requests to this destination" and enter the address to redirect to.
does this help?
if I understand correctly, you are trying to set up a 301 Redirect for a single file?