为什么wordpress .htaccess会杀死所有子域会话

时间:2012-03-02 08:02:15

标签: wordpress .htaccess

我在我的服务器的根目录中安装了wordpress。当捆绑的.htaccess文件位于根子域中时,会话停止工作。以下是.htaccess的内容。

  # 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

抱歉.htaccess对我来说都是希腊人。为什么会破坏会话,如何解决?

1 个答案:

答案 0 :(得分:0)

解决方案是在受影响的子域中设置RewriteEngine Off

相关问题