1//PHP redirect
2header("Location: https://www.codegrepper.com/my-redirect-page.php");
3die();
4
1header("Location: http://example.com/redirect_page.php");
2die(); //Force the script to quit, or you would raise an error...
1header("location: THE LOCATION"); //"THE LOCATION", put in a URL or directory to redirect to. For example, header("location: https://google.com/"); or header("location: ../../images/dog/");