The Problem You want to redirect from your web page to another web page using PHP. The Solution The easiest way to add a redirect in PHP is to use the header() function.