<?php header("Location: /folder/page.php"); exit(); ?>
<?php header("Location: http://www.domain.com/another-page.php", true, 301); exit(); ?>