判断网址进行跳转
if( 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']=="http://yudw.com"){
Header("Location: http://yudw.com/forum.php");
}
if( 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']=="http://yudw.com/"){
Header("Location: http://yudw.com/forum.php");
}
if( 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']=="http://yudw.com/index.php"){
Header("Location: http://yudw.com/forum.php");
}