force redirect in php code example Example: how to redirect with php <?php header("Location: (redirect url)"); ?>