funcion location php code example Example: header php location header('Location: http://www.example.com/');