Brian
asked on
How to Hide URL Extensions
Hello Experts,
I'm using ASP.NET which uses the .aspx extension and I would like if possible to hide the page along with the extension.
For example: If I visit a page http://yourpage.com/index.aspx then I would like to hide index.aspx from the URL. Is this possible and if so how and can I have some help setting that up?
I'm using ASP.NET which uses the .aspx extension and I would like if possible to hide the page along with the extension.
For example: If I visit a page http://yourpage.com/index.aspx then I would like to hide index.aspx from the URL. Is this possible and if so how and can I have some help setting that up?
Here's a link describing what gmailjini suggested.
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
-MJC
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx
-MJC
ASKER
I'm not sure which method I should use from the many methods mentioned in both of your URL's that you have posted. Please see what I'm working with below.
ASP.NET
C#
Windows 2003 Server with IIS6.
ASP.NET
C#
Windows 2003 Server with IIS6.
url rewriting is the only method available for your case
ASKER
@gmailjini:
I understand that. Can you answer my question in post 37107772?
I understand that. Can you answer my question in post 37107772?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
so after url rewriting your url will be http://yourpage.com for http://yourpage.com/index.aspx
and http://yourpage.com/contactus for http://yourpage.com/contactus.aspx