redirectURL php code example
Example 1: how to redirect with php
<?php
header("Location: (redirect url)");
?>
Example 2: php redirect to url
header("Location: http://example.com/myOtherPage.php");
die();
<?php
header("Location: (redirect url)");
?>
header("Location: http://example.com/myOtherPage.php");
die();