I solved the problem by making an extension with following content. Still looking for a betterway though. if ($_POST["cmd"] == ""){ $location = $this->pi_getPageLink($GLOBALS["TSFE"]->id)."&rU=".$GLOBALS['TSFE']->fe_user->user['uid']."&cmd=edit"; header("Location: ".$location); } Cheers. Troels