redirect html page to php code example
Example 1: how to redirect with php
<?php
header("Location: (redirect url)");
?>
Example 2: php redirect to page
header("Location: /");
exit();
<?php
header("Location: (redirect url)");
?>
header("Location: /");
exit();