PHP
redirection can be used virtually for anything. Many
use this simple relocation form for user systems.
There are various ways of redirecting your page but
the PHP way is definately the fastest and most reliable.
Open
up the page you would like to be redirected.
Above
all of your HTML (if any) add the lines below:
|
<?php
header('Location:http://www.yourpage.com');
?> |
|
Now
make sure you changed "http://www.yourpage.com"
to whatever the page is you are redirecting to.
Save
your file and make sure you have your .php extension.
Upload
and try it out. If you are running on a slow web server
it could tak a few seconds for the page to relocate.
Go
Back To PHP Tutorials