# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
以上是默认根目录的原始文件,
# BEGIN anwsion
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /zhidao
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END anwsion
增加的anwsion,不知道哪里出错,这样设置后还是不行
阅读全文
收起全文