in sessions.php use this one instead of the one posted previously, this should fix a minor bug I hope: if($non_html_amp) { $url=$board_config['script_path'].$url; } elseif(stristr($HTTP_SERVER_VARS['SCRIPT_NAME'],'/admin')||stristr($url,'admin')); else { $url = strtr($url,array("?"=>"...