1 頁 (共 1 頁)

[問題]portal.php 如何當成首頁

發表於 : 2003-08-26 05:54
8953197
如何讓http://amebbs.nchu.edu.tw/~loveuto/


直接連到這呢??http://amebbs.nchu.edu.tw/~loveuto/portal.php

當成首頁

發表於 : 2003-08-26 08:59
slei
做一個index.html的redirect

代碼: 選擇全部

<html>
<head>
<title>NAME</title>
<meta name="description" content="">
<meta name="keywords" content="">
</head>
<frameset border="0" frameborder="0" framespacing="0" rows="100%,*">
<frame name="frame" noresize src="http://amebbs.nchu.edu.tw/~loveuto/portal.php">
</frameset>
<noframes>
<meta http-equiv="refresh" content="0; url=http://amebbs.nchu.edu.tw/~loveuto/portal.php">
<body>
<ahref="amebbs.nchu.edu.tw/~loveuto/portal.php">NAME</a>
</body>
</noframes>
</html>

發表於 : 2003-08-26 18:49
大熊
我覺得可以改.htaccess 去portal.php

發表於 : 2003-08-27 00:29
slei
兩個功能一樣 8-)

發表於 : 2003-08-27 00:47
動感超人
在phpBB資料夾放進一個檔名.htaccess的檔案,內容如下

代碼: 選擇全部

DirectoryIndex index.html index.htm portal.php index.php
其中的檔名可自行增加或修改順序