Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i want a solution of url tempering.

Like if i add slash or another character in my url then my .css is not loading peoperly.
i.e.

http://www.vidityagi.com/Login.aspx// instead of http://www.vidityagi.com/Login.aspx

OR

http://www.vidityagi.com/editprofile.aspx// instead of http://www.vidityagi.com/Login.aspx

CSS not loading properly and images also.
Posted
Comments
Christiaan Rakowski 25-Sep-12 13:22pm    
I'm not 100% sure, but I think the IIS URL rewrite module supports removing trailing slashes. Take a look into that.
arshad alam 26-Sep-12 3:02am    
if you are using string then, you can prefix @ symbol to the value.

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