It wants to send you to login.php , like you showed earlier. . Since the login page is a separate page, I am assuming that you want to redirect to the page that .