<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>優愛邀吧</title>
</head>
<body>
</body>
</html>
2.實現網站(網頁)跳轉且可隱藏跳轉后網址的代碼
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>優愛邀吧</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/">優愛邀吧</a> (注:此行可要可不要,但實際測試中不要會報錯)
</body>
</html>
使用說明: 將以上http://ui18.cn/改成你自己的網址。將“優愛邀吧”改成你自己的網站名。 此代碼可制作成單獨首頁,放在空間服務器根目錄位置。作為優先執行的首頁。如我現在優先執行的是以htm為后綴的,則首頁設為 index.htm;如果優先執行的是以html為后綴的,則首頁設為 index.html;如果優先執行的是以php為后綴的,則首頁設為 index.php 。如果優先執行的是以asp為后綴的,則首頁設為 index.asp;根據實際情況而定。