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:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
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>