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 !
Please ! give me source code about redirect domain
Moderator: General Moderators
-
donggiagia
- Forum Newbie
- Posts: 1
- Joined: Thu Oct 10, 2002 9:17 pm
- Location: Viet Nam
- Contact:
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
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
http://www.php.net/manual/en/function.header.php
Mac