Separate installs of WordPress and Phpbb
-
I have a website with separate installs of WordPress and Phpbb.
WordPress is installed in the root directory, Phpbb is installed in the forum directory.
I *do not* want to integrate the two.
The problem is when I try to access domainname.com/forum – I get a 404 error message. WordPress seems to take over everything. (The forum itself installed fine. No problems there. WordPress works fine too.)
WordPress htaccess code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
I tried this for the forum, put it in the root htaccess file as well as the forum root, but no luck.
#forum
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /forum/index\.php\ HTTP/
RewriteRule ^index\.php$ https://domainname.com/forum/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forum/index.php [L]
</IfModule>#End forum
Does anyone have any ideas of what I can try in my htaccess file? Everything I’ve searched for on Google or this site talks about integrating WP and Phpbb and is no help.
Thank you.
- The topic ‘Separate installs of WordPress and Phpbb’ is closed to new replies.