<?php header("Location: anotherDirectory/anotherFile.php"); ?> code example Example: redirect php < ?php header("Location: http://www.redirect.to.url.com/"); ?>