Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I want to hide the last part showing the url in a browser when run my site, for example if I run my site appears in the browser something like http://www.mysiteasp.com/section1/page1.aspx , I want to appear in the browser the url http://www.mysiteasp.com/section1/
Unfortunately I haven't access to the ISS and I don't work with framework 4.0. I don't can to use rewrite and don't can to use routing in framework 4.0.
someone could help me.

Thanks in advance
Posted
Updated 31-Jul-14 4:27am
v2
Comments
Abhishek Pant 30-Jul-14 16:28pm    
As I see from the comments below. you have posted a incomplete set of information about question.Please mention/update your framework version in question above

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Jul-14 11:44am    
5ed.
—SA
_Amy 30-Jul-14 11:47am    
Thank you Sergey. :)
danigeraleddin 30-Jul-14 13:06pm    
Thanks for post, Unfortunately I haven't access to the ISS and I don't work with framework 4.0. I don't can to use rewrite and don't can to use routing in framework 4.0.
Know other alternative?.
Please go through this link you will get your answer.
how to remove page name from url in asp.net?[^]
 
Share this answer
 
Comments
danigeraleddin 30-Jul-14 13:06pm    
Thanks for you post, Unfortunately I can not use routing because I'm not working with framework 4.0, I've also changed the webconfig as suggested one of the solutions and it is not work. Know other alternative?.
shibusen 31-Jul-14 8:55am    
Hi danigeraleddin i am not telling about routing,I am telling about url rewriting.
Please change it in your config file.
danigeraleddin 31-Jul-14 10:24am    
I changed the file, but does not recognize the tags, I think is the framework.

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