Redirect PHP to Another URL

To redirect a PHP to another url a header can be used, header a function which sends a raw http.

Below example can be used and it will forward your page to www.dotsway.com, this one is using a Location header.

<? php

/* Redirect code */
header("Location: http://www.dotsway.com");
exit();

?>


Subscribe to
for video tutorials updates