Welcome folks today in this blog post we will be
redirecting website user to external url using header() method in browser using
php 7. All the full source code of the application is shown below.
In order to get started you need to make an
index.php file and copy paste the following code
<?php header('Location: page1.php'); header('Location: http://google.com'); header('Location: http://twitter.com'); header('Location: http://facebook.com'); header("Location: https://codespeedy.com"); ?>