2011-09-28 45 views

回答

6

如果您使用的是Apache服務器,創建一個名爲.htaccess和文件中刪除index.php來改變這種把這個在它:

<IfModule mod_rewrite.c> 
    RewriteEngine on 

    # If the file/dir is NOT real go to index 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule ^(.*)$ index.php/$1 [QSA,L] 
</IfModule> 

然後,只需刪除引用從您的鏈接「/index.php/」,並在服務器未找到「家/ FUNCT」它會去尋找「/指數。 PHP /家/本功能」。