Posted on: 3/19/2012 7:18:40 AM | Views : 438

I have customed 404 page enabled on my website. For example if a user goes on www.mywebsite.com/xyz.aspx, when happens to be an invalid page I redirect them to custom 404 page. I know how to do that.
Can anybody tell me, How can I do this:-
If a user goes to invalid directory on my website, it shows a 404 error, for Example. If a user tries to access www.mywebsite.com/directoryname, how can I mask or redirect him. Currently it shows the error below:-
Server Error in Application "XYZ.com" Internet Information Services 7.5
HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Thanks
Rahul
...

Go to the complete details ...