General Syntax for Redirect using Header is:
Here Destination url can be changed to the url where you want to redirect you can also create this using variable like:
$url = 'http://newtechie.com'; header('Location: '.$url.'');
$url is variable where you can change the url for destination.
This is Simple Guide how to Redirect Page in PHP