Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Redirecting pages
December 14, 2007, 9:00 am
rate this thread
to the new ones
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
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
Re: Redirecting pages
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
<META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.bbb.no ">
[... other head tags ...]
Our pages was be moved. If you will not be redirected in 5 seconds please
<a href="http://www.bbb.no ">here</a>
You can use your old web but must type full URL
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>
- » PHP page looks good but in Dreamweaver sucks to edit
- — Previous thread in » HTML Authoring Forum