if user type's number after domain name redirect them to homepage with php code example Example: php redirect to page header("Location: /"); exit();