1.實(shí)現網(wǎng)站(網(wǎng)頁(yè))跳轉且可隱藏跳轉后網(wǎng)址的代碼
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="0.1;url=http://ui18.cn/">
<title>優(yōu)愛(ài)邀吧</title>
</head>
<body>
</body>
</html>
2.實(shí)現網(wǎng)站(網(wǎng)頁(yè))跳轉且可隱藏跳轉后網(wǎng)址的代碼
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>優(yōu)愛(ài)邀吧</title>
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="http://ui18.cn/" scrolling="auto" noresize>
</frameset>
</head>
<body>
<a href="http://ui18.cn/">優(yōu)愛(ài)邀吧</a> (注:此行可要可不要,但實(shí)際測試中不要會(huì )報錯)
</body>
</html>
使用說(shuō)明:將以上http://ui18.cn/改成你自己的網(wǎng)址。將“優(yōu)愛(ài)邀吧”改成你自己的網(wǎng)站名。此代碼可制作成單獨首頁(yè),放在空間服務(wù)器根目錄位置。作為優(yōu)先執行的首頁(yè)。如我現在優(yōu)先執行的是以htm為后綴的,則首頁(yè)設為 index.htm;如果優(yōu)先執行的是以html為后綴的,則首頁(yè)設為 index.html;如果優(yōu)先執行的是以php為后綴的,則首頁(yè)設為 index.php 。如果優(yōu)先執行的是以asp為后綴的,則首頁(yè)設為 index.asp;根據實(shí)際情況而定。