reroute to another url, but the first url must shouldnt change in theadress-mask

  • Thread starter guenther schoebel
  • Start date
P

PeterMcC

guenther said:
hi,
i want reroute to another url e.g. http://url2.html at loading the
site http://url.html,
but the adress-mask should not change to the url http://url2.html ?

There is the clumsy work-around of using frames. A single-frame frameset in
page url.html inserts the page at url2.html into the frame thus leaving the
address as url.html whilst displaying the contents of url.html

Having said that - it's a solution (of sorts) that causes more problems than
it's worth. Why not just put the contents of url2.html into the page at
url.html and have done with it?

The address is there to tell site visitors which location they are visiting
rather than for the site owner to tell them which location s/he would like
to mislead them into thinking they are visiting.
 
E

Eric Cartman

guenther schoebel said:
hi,
i want reroute to another url e.g. http://url2.html at loading the site
http://url.html,
but the adress-mask should not change to the url http://url2.html ?

with best wishes

You could simply have the page on http://url2.html include a SSI that
requests the content from that page or simply have a cgi on
http://url2.html that handles all requests and gets the page from the
other site and serves it up.

Good chance of performance problems on a heavily loaded site, unless
you can cache the pages from http://url.html on http://url2.html in
some way.

EC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top