|
Posted by Petr Vileta on December 14, 2007, 10:13 am
Please log in for more thread options
Knut wrote:
> I want to redirect the old pages
> www.aaa.no
> to the new ones
> www.bbb.no
> where, by the way, the directory tree is quite different from the
> old one. Suppose the webroot both in aaa and bbb is /www
> (unix/apache). I can redirect every page in- and beneath the webroot with a
> .htaccess-file like this:
>
> Redirect 301 / http://www.bbb.no
>
> (In this top page there are links making it possible to navigate to
> the new place of the wanted info.)
> Now to the point:
> We have a virtual host www.beneath.no with its webroot in /www/beneath
> *I want this to continue working*, but with the solution above, it
> will not. Here all attempts to fetch pages in- or beneath the
> webroot, is redirected to www.bbb.no
>
> Anyone understand?
>
> Thanks Knut
Simply rename index.html or index.php or what is the homepage on old web to
index1.* and create new index.html with this content
<html><head>
<META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.bbb.no"> [... other head tags ...]
</head>
<body>
Our pages was be moved. If you will not be redirected in 5 seconds please
click
<a href="http://www.bbb.no">here</a> </body></html>
You can use your old web but must type full URL
http://www.beneath.no/index1.html --
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)
Please reply to <petr AT practisoft DOT cz>
|