under /include/login.inc.php

find
header('Location: ' . $referer_url);

and replace with

header('Location:' . $config['baseurl'] . '/input any ');

example:
header('Location:' . $config['baseurl'] . '/blog.html');