如何让站点自动跳转到另一页?

来源:百度知道 编辑:UC知道 时间:2024/05/10 12:21:23
如何让站点自动跳转到另一页?它的代码是怎样?

<html>
<head>
<meta http-equiv="refresh" content="1;url=你要跳转到的地址!">
</html>
一句就够了,上面的 1 是跳转的时间。

static or dynamic????

首先,你要去申请一个免费空间,这样的空间很多,然后把以下的代码保存为你的主页文件即可,主页文件一般为:index.html 、index.htm 、default.html 、default.htm 、index.asp 、index.php 、index.cgi ...... 等等(一般你去申请免费空间空间时,空间提供商都会有help进行说明)。然后你就可通过这个空间达到转向的目的。要注意的是:保存为你的主页文件之前,要将以下有"将这里改成要转入的网址"的地方改成你自已的转向后的URL 。
------------------------------------------------------------------------------
不隐藏转向之后的地址 代码一
------------------------------------------------------------------------------
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title></title>
</head>
<body>
<form name=loading>
<P align=center><F