Home / PHP Tips Generated By ChatGPT / Redirecting to Another Page Using PHP Header Use header() to redirect the browser to a new page. Source Code header('Location: https://www.example.com'); exit;