WordPress网站显示页面404错误-但是我的IPB论坛

Mat*_*mon 5 wordpress .htaccess ipb invision-power-board

我有一个WordPress网站,它在我网站的根目录下运行。并在directory /forums/

我正在使用代码表示对$USER$登录IPB 的欢迎,现在最近对我的知识没有任何更改,可能是对IPB的更新,每个WordPress都会page/post弹出一个404 error。但是不是WordPress中的404,而是论坛下的404?

您可以在这里看到:

http://www.tfuhq.com/-WordPress主页(WORKS)

http://www.tfuhq.com/autobots/-WordPress内部页面(404)

http://www.tfuhq.com/forums/-FORUMS(WORKS

这是WordPress安装的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
Run Code Online (Sandbox Code Playgroud)

这是论坛的htaccess:

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /forums/
RewriteCond %{REQUEST_FILENAME} .*\.(jpeg|jpg|gif|png)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /forums/public/404.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forums/index.php [L]
</IfModule>
Run Code Online (Sandbox Code Playgroud)