Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Mapping and Rewriting

Status
Not open for further replies.

dpdougla

Programmer
Jan 1, 2011
10
US
I am re-writing a web site converting it to asp.net. For now the main traffic will be to the Default.aspx page. The problem is that there are lots of urls out there in the search engines etc. where the format is like this:


so when someone clicks on this link I want it to pass "this-is-a-seo-friendly-url" to the Page_Load and load the content into the Default.aspx page (without displaying the "Default.aspx" in the address bar).

Also, I when the user clicks on a link on the Default.aspx page, I don't want the "Default.aspx" part to show in the address bar. I don't want something like:


I want it to appear like this:


I just want to use the "this-is-a-seo-friendly-url" part as a parameter to load the content into the page.

What is the easiest way to do this?

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top