how to redirest in php code example
Example 1: php redirect
header("Location: http://example.com");
die();
Example 2: php redirect to page
header("Location: /");
exit();
header("Location: http://example.com");
die();
header("Location: /");
exit();