Click here to Skip to main content
15,890,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 20-Jan-12 23:13pm
v4

1 solution

Hello

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.

http://technet.microsoft.com/en-us/library/cc732930%28WS.10%29.aspx[^]
 
Share this answer
 
Comments
Balakrishnan Dhinakaran 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 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900