Click here to Skip to main content
11,492,914 members (49,417 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: IIS5.1
In IIS5.1 how to redirect to the specific file by just typing the file name in the URL.

For example if I type "http://localhost/normal/home.html" or "http://localhost/medium/home.html" the page should automatically redirect to "http://localhost/standard/home.html".

Is there any solution? please help me.

Thanks in advance..
Posted 20-Jan-12 23:26pm
Edited 21-Jan-12 0:13am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Do you want this for specific folder only or do you want it to be for the whole site? Also which version of IIS?

For IIS 7 below link has a possible solution but this will work when you want the redirection to be permanent. I think what you need is relative redirection. See if this help.[^]
Balakrishnan Dhinakaran at 23-Jan-12 0:35am
I have Clearly informed IIS 5.1 in the Question but I dont know why you asked for the version of IIS
mohsin nagaria at 23-Jan-12 0:40am
Ok apologies, read the question again and see it now. I don't think its possible with IIS 5.1 but i might be wrong.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 454
1 Maciej Los 286
2 F-ES Sitecore 224
3 KarstenK 210
4 CPallini 208
0 Sergey Alexandrovich Kryukov 10,062
1 OriginalGriff 8,620
2 Sascha Lefèvre 3,609
3 Maciej Los 3,372
4 Richard Deeming 2,500

Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Jan 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100