Wordpress site displays 404 page errors but with my IPB forum

I have a WordPress site that runs at the root of my site. And installation installation works ondirectory /forums/

I use the code to show a greeting $USER$if I log in to IPB, now recently, without any changes, as far as I know, an update for IPB is possible, every WordPress page/postlaunches 404 error. But not 404 in WordPress, 404 in forums?

You can see it here:

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

http://www.tfuhq.com/autobots/ - Inside WordPress Page (404)

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

This is htaccess for installing wordpress:

# 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

This is htaccess for forums:

<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>
+4

Source: https://habr.com/ru/post/1525644/


All Articles