Page 1 of 1

Please ! give me source code about redirect domain

Posted: Thu Oct 10, 2002 9:17 pm
by donggiagia
Thanks for reading this news !

I have a domain. I want plug-in a index.php file to redirect and fix bug 404.
Ex: At address of IE : I type: " http://www.vntoday.org/index.php . after, index.php can auto go to main.html. In this example, this index.php can fix 404 bug when my domain's busy or bug. My domain can into. This index.php can redirect to # domain (Ex: vietnamnet.info).

Okie, thanks you so much. see your answer soon !

Posted: Fri Oct 11, 2002 1:58 am
by twigletmac
Have a look at the header() function, it can be used to redirect from one page to another:
http://www.php.net/manual/en/function.header.php

Mac