RSS Forums RSS
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2112 | Replies: 3
Reply
Join Date: Jun 2005
Posts: 3
Reputation: apisano is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
apisano apisano is offline Offline
Newbie Poster

Pseudo web page names

  #1  
Jun 15th, 2005
Is it possible using .net technology to have a fake webpage - eg. dewalt.aspx - be associated with another webpage - eg. results.aspx?value=dewalt - and have the url that is displayed on the browser remain the pseduo name - ie. dewalt.aspx. Essentially I want to allow the user to enter a webpage with a descriptive name, have that page use a general page of code with predefined parameters in the querystring but not let the user know that the page name is different than the one that they entered in the url. Does anyone know how this might be done????
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation: paradox814 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Pseudo web page names

  #2  
Jun 15th, 2005
you don't need .net technology to do this, but this would involve you having to buy that domain name and just having it point to the new site (redirection).

I wish I could tell you more specifically how this is done with windows, but almost any webhost can set this up for you on a windows based system (or linux), or you can see if windows supports mod_rewrite

more bad news .aspx is not a valid domain
Reply With Quote  
Join Date: Jun 2005
Posts: 3
Reputation: apisano is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
apisano apisano is offline Offline
Newbie Poster

Re: Pseudo web page names

  #3  
Jun 15th, 2005
Thanks for your reply but its not multiple domain names that I'm trying to use for a single site.

What I'm trying to do is replace a page name that has a querystring associated with it with a 'friendly' url without the querystring. For example I want the user to be able to type as the url http://mydomain.com/dewalt.aspx. This page will not actually exist as part of the mydomain.com website. In fact it doesn't exist at all. I need to associate this address with the following one: http://mydomain.com/results.aspz?page=dewalt BUT I want the user to see http://mydomain.com/dewalt.aspx in the address bar. I CAN'T just redirect dewalt.aspx to the results.aspx?page=dewalt address because that changes the url in the address bar.

Hopefully that is clearer.
Reply With Quote  
Join Date: Oct 2004
Location: San Francisco, CA
Posts: 338
Reputation: paradox814 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 2
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Pseudo web page names

  #4  
Jun 15th, 2005
oah ok, take a look at:
http://www.isapirewrite.com/

i don't think that IIS .net supports mod_rewrite
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:04 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC