JavaScript 解决方案:
var newURL = "http://.com";
document.location.href = newURL;
或者
location.reload(true);
HTML 解决方案:
<meta http-equiv="refresh" content="2;url=http://.com">
PHP解决方案:
// taken from http://www..com/forums/index.php?topic=228678.0
function redirect($loc){
echo "<script>window.location.href='".$loc."'</script>";
}
function GoHere(){
redirect('http://.com');
}
或者
header( "refresh: 2; url='http://.com'" );
用户解决方案:
Press F5