Posted by David Segall on 06/25/06 13:45
"Stefan Mueller" <seekware-remove-@yahoo.com> wrote:
>Today I'm using
>
>File: http://www.example.com/index.html
> <?php
> header ("Location: http://www.test.com/test/start.html");
> ?>
>to redirect 'http://www.example.com/index.html' to
>'http://www.test.com/test/start.html'.
>That works fine but unfortunately the URL changes from
>''http://www.example.com/index.html' to
>'http://www.test.com/test/start.html'.
>
>Is there really no solution which doesn't change the URL?
>Stefan
The "solution" is usually called cloaking and relies on either
scripting or frames to enclose the page at
http://www.test.com/test/start.html in the (almost) non-existent page
at http://www.example.com/index.html. It is regarded as sinful
because, by checking the source of the page request, it allows a web
site devoted to "really boring activated sludge" to trick a search
engine into classifying it as "sex and fun".
My domain name manager allows me to cloak any web forward so I
routinely forward my "real" web site to the free site provided my ISP
when my self-hosted web site is down. An alert visitor would notice
that the forwarded URL does not change when they move around the site
and I have no idea how I could fix that.
[Back to original message]
|