.htaccess冲突

.htaccess冲突,.htaccess,conflict,socialengine,.htaccess,Conflict,Socialengine,这是我的第一个问题。 我在根目录上有一个wp站点,它是自己的.htaccess文件 RewriteEngine off <IfModule mod_suphp.c> suPHP_ConfigPath /home/katambi/public_html/php.ini <Files php.ini> order allow,deny deny from all </Files> </IfModule> # BEGIN WordPress <I

这是我的第一个问题。 我在根目录上有一个wp站点,它是自己的
.htaccess
文件

RewriteEngine off
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/katambi/public_html/php.ini
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

# 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
<IfModule mod_rewrite.c>
  Options +FollowSymLinks
  RewriteEngine On

  # Get rid of index.php
  RewriteCond %{REQUEST_URI} /index\.php
  RewriteRule (.*) index.php?rewrite=2 [L,QSA]

  # Rewrite all directory-looking urls
  RewriteCond %{REQUEST_URI} /$
  RewriteRule (.*) index.php?rewrite=1 [L,QSA]

  # Try to route missing files
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} public\/ [OR]
  RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png|ico|flv|htm|html|php|css|js)$
  RewriteRule . - [L]

  # If the file doesn't exist, rewrite to index
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

</IfModule> 
问题:当我进入软件包和插件页面时,它显示404错误=(

当我删除之间的代码时

# BEGIN WordPress

wp站点关闭,但社交网络运行正常


谢谢你的回答。

#BEGIN WordPress
#END WordPress
之间的代码将所有请求重定向到根目录的index.php。你需要确保对SocialEngine目录的请求没有被重定向。所以你可以尝试这个解决方案-

目录结构如何,WP在哪里,where“社会”应用程序,.htaccess文件在哪里…?请提供完整信息。root/.htaccess/*wp的htaccess*/root/socialengine文件夹/.htaccess/*socialengine的htaccess*/如何检查socialengine安装重定向?我认为wp.htaccess文件将其规则写在social的.htaccess下。重要的是我有4个04仅在“安装”文件夹上出错。Social的其他部分运行正常。您可以在SocialEngine的.htaccess文件中为SocialEngine安装文件夹编写规则。并向$1000000提问:我应该编写什么?:)
# END WordPress