2013-10-30 51 views
1

Vanilla論壇中的任何鏈接似乎都適用於任何地方。它就像我卡在主頁和index.php不拾取任何的url鏈接。Vanilla論壇中鏈接無效

我的.htaccess文件:

# Modified 
# If you modify this file then change the above line to: # Modified 
<IfModule mod_rewrite.c> 
    RewriteEngine On 
    # Certain hosts may require the following line. 
    # If vanilla is in a subfolder then you need to specify it after the /. 
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum) 

    RewriteBase /forum-new 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L] 
</IfModule> 

任何幫助將不勝感激,我使用香草

回答

1

我不知道你有一個反斜槓最後一行的2.1版,只是將其刪除。

RewriteRule ^(.*)$ index.php?p=$1 [QSA,L] 

注意:這個.htaccess不僅與香草有關。但是通常(包括WordPress的)

+0

感謝您的答覆,可惜的是其沒有改變任何東西 – user2935955

+0

也可以嘗試互換的條件爲'使用[L,QSA]' – Saravanan

+0

再次恐怕這沒有任何影響。 – user2935955