blindrookie
asked on
How to redirect www.xxxx.com to www.yyyy.com in same website while preserving yyyy in browser address bar
A while back someone gave me a ASP script which was inserted into my home page which allowed me to rewrite the address and all browsing on my site using the new domain name etc. as follows.
1) I had www.baltija.net pointing to www.chuckscherl.com
2) when www.baltija.net was entered the script on the home page change the was changed from www.chuckscherl.com to www.baltija.net/baltija.html. The www.baltija.net was carried throughout the session.
I since lost that code and would like to reimplement it. ISA Rewrite would be a better choice, but my hosting company does not support it.
ideally I would like baltija.net to be effectively mapped to chuckscherl.com/photos/bal tija/index and make it look to the outside world that they are accessing a separate website.
I would truly like to have a piece of sample code that will do the trick.
Thanks
ChuckS
1) I had www.baltija.net pointing to www.chuckscherl.com
2) when www.baltija.net was entered the script on the home page change the was changed from www.chuckscherl.com to www.baltija.net/baltija.html. The www.baltija.net was carried throughout the session.
I since lost that code and would like to reimplement it. ISA Rewrite would be a better choice, but my hosting company does not support it.
ideally I would like baltija.net to be effectively mapped to chuckscherl.com/photos/bal
I would truly like to have a piece of sample code that will do the trick.
Thanks
ChuckS
put it in a frame or an iframe and then do all your navigation in that frame.
ASKER
do you have an example?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.