how to redirect to another page in php automatically code example Example: php redirect to page header("Location: /"); exit();