1.HTML方式(可隐藏跳转后网址)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Panda社区</title>
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="http://www.httple.net/" scrolling="auto" noresize></frameset>
</head>
<body></body>
</html>
2.HTML跳转
<meta http-equiv="refresh" content="0; url=http://www.httple.net">
3.PHP跳转
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.httple.net");
exit();
?>
4.JavaScript跳转
<script language="javascript">
top.location='http://www.httple.net';
</script>
|