PHP redirect

header("location: /newLocation.php");

of course before having printed any HTML (i.e. before setting headers).

Advertisements