Please, open your user_login.php file and replace the following strings: if (!strlen($return_page)) { $return_page = $user_home_url; } with } if (!strlen($return_page)) { $return_page ="index.php";