redirect to pages php code example
Example 1: php redirect
header("Location: http://example.com");
die();
Example 2: how to redirect to another page in php
<?php header("Location: http://www.redirect.to.url.com/"); ?>
header("Location: http://example.com");
die();
<?php header("Location: http://www.redirect.to.url.com/"); ?>