Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all,
I have one web application which is live. url is www.medopsplus.com. Now there are number of pages. If I open page1 from menu so url becomes www.medopsplus.com/page1.aspx.
Instead of that I want only www.medopsplus.com. I dont want to show any of the page name in url. Thanks in advance...
Posted

XML
<system.web>
<urlMappings enabled="true">
  <add url="~/page1" mappedUrl="~/page1.aspx" />
</urlMappings>
 
Share this answer
 
 
Share this answer
 
Comments
StianSandberg 23-Apr-13 6:24am    
all you need.. 5'd
_Amy 23-Apr-13 6:50am    
Thank you AD. :)

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