| | |
Pseudo web page names
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jun 2005
Posts: 3
Reputation:
Solved Threads: 0
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????
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
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
•
•
Join Date: Jun 2005
Posts: 3
Reputation:
Solved Threads: 0
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.
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.
oah ok, take a look at:
http://www.isapirewrite.com/
i don't think that IIS .net supports mod_rewrite
http://www.isapirewrite.com/
i don't think that IIS .net supports mod_rewrite
![]() |
Similar Threads
- Change Web Page Font Size on the Fly (Windows tips 'n' tweaks)
- How to create a web page with scrolling menus to specific entries (HTML and CSS)
- unable to access my web page (Domains and DNS)
- Opening a Web Page in a New Window (Windows tips 'n' tweaks)
- Win XP Explorer - Web Page View (Windows NT / 2000 / XP)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP in ASP.NET application
- Next Thread: Prblem with sql sever connection
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer c# c#gridviewcolumn checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamic dynamically edit fileuploader fill findcontrol flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers





