[英]Vanilla Forum no links working
Vanilla論壇中的所有鏈接似乎都無處可去。 就像我停留在主頁上一樣,index.php沒有拾取任何URL鏈接。
我的.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>
任何幫助將不勝感激,我正在使用Vanilla v2.1
我想知道您的最后一行帶有反斜杠,只需將其刪除即可。
RewriteRule ^(.*)$ index.php?p=$1 [QSA,L]
注意:此.htaccess不僅與Vanilla有關。 但常用(包括Wordpress)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.