.htaccess設定網站預設首頁次序
Temperature: 0 °C
一般php空間預設設定是index.php為首頁。
所以如果網站用index.php做首頁,就不需要設定.htaccess。
但如果不是用index.php做為首頁。
例如,home.php
就可以在.htaccess檔案中添加如下行:
DirectoryIndex home.php
以上紀錄。 #故事 #htaccess #DirectoryIndex #設定網站預設首頁
https://innstory.com/story-htaccess設定網站預設首頁次序-2670
apache