How to hide the page name in asp.net

Posted by Samyuktha under ASP.NET on 5/8/2012 | Points: 10 | Views : 12390 | Status : [Member] | Replies : 2
There have been so many links for this topic.

But please suggest me an easy way to do this.
for example the following link

www.softechtraining.com\home.aspx
needs to be like this in the address bar.
www.softechtraining.com

when navigates from home.aspx to about.aspx
www.softechtraining.com\aboutus

thatz it no page extension nothing.
will it be possible.




Responses

Posted by: Prabhakar on: 5/8/2012 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Samyuktha


if u want ot hide page extension so use Url Rewriting Concept . .

Go with this Link it's help us u . .
http://forums.asp.net/t/1250694.aspx/1

Best Regard's
Prabhakar

Samyuktha, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ajay.Kalol on: 5/9/2012 [Member] Starter | Points: 25

Up
0
Down
www.softechtraining.com\home.aspx

www.softechtraining.com

This will be done automatically when you will set default page in IIS for your website

when navigates from home.aspx to about.aspx
www.softechtraining.com\aboutus

For This you need to use URL ReWriting.
Here is Link for Url ReWriting
http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx



Ajay
ajaypatelfromsanthal.blogspot.in

Samyuktha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response