Hi i'm working on a small website what i need to do is to hide the name of the pages in the address bar
eg:-
http://localhost:53860/newpage.aspx
i only want the http://localhost:53860/ to be displayed
Please help me to do this
Thanks in advance
Guru
Loading
Mehdi RezaiePosted May 29, 2025, 10:33 AM
The solution of using URL Rewriter in asp.net or IIS is only to display the template of the page address in a way that does not hide the page.
I tested almost all the ways, but I didn't get any results, and the only solution I found that partially solved my needs in this field was using iframe HTML tag. But it also has a problem that is very important, the name of the *.aspx files can be seen in the page source. I will share with you how to use it
first creat a HTMl or ASPX file and then use this tag inside that
Chintan RathodPosted Dec 25, 2011, 4:13 AM
Following link will help you to know full about URL rewriting.
1) http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
2) http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
Thank You.