Forum Moderators: open

Message Too Old, No Replies

how can i hide the url in the address bar?

         

KurKapan

5:31 am on Dec 27, 2006 (gmt 0)

10+ Year Member



I have a travel web site website1.com that is affiliated with website2.com. When someone wants to buy something he is redirected to website2.com and in the address bar it shows website2.com. the problem is that I want to have the adress bar show website1.com and it really to be website2.com. there is one more thing - I control the header of website2.com so I can put whatever script I want in the header of website2.com. So what script should I put in website2.com - javascript or some kind of <meta> I don't know what exactly for it to show website1.com in the adress bar? Please help me as I searched in the forum and did't find how i is done and I've seen it on other sites.

DrDoc

8:35 am on Dec 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

What you need is neither JavaScript nor META related. You need to use one of two things:

1) frame -- easy to set up, works, but breaks bookmarking capabilities
2) URL rewriting -- difficult to set up and manage for the inexperienced, but works very well and has virtually no drawbacks

john_milton

1:04 pm on Dec 28, 2006 (gmt 0)

10+ Year Member



DrDoc says the right way for you.

Thanks

KurKapan

7:08 am on Dec 29, 2006 (gmt 0)

10+ Year Member



yeah I found how it is done...It was pretty simple I made it with CNAME redirection...