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