Click here to Skip to main content
15,848,157 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to create a friendly urls to my asp.net 4.0 website which is already running. I heard of URL routing feature in asp.net 4.0. I am facing difficulty in understanding the patterns that i need to add in global.asax,
i want url www.ali.com/admin/defualt.aspx

to

www.ali.com/defualt.aspx[^]

director admin is filter
Posted

1 solution

Refer this here he explained with global.asax and web.config
http://blog.dotnettechy.com/2011/09/url-rewriting-in-aspnet-using.html[^]

--
Url Rewriting in Global.asax[^]
 
Share this answer
 
v2

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