I have WP installed on the root of my domain and Vanilla 2 installed in a subfolder, /forum. WP seems to work fine before and after the Vanilla 2 install but Vanilla 2 has been troublesome.
Here is the .htaccess residing in the root folder:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
With this .htaccess the only way I could get to the forum was by entering the complete URL; http://www.formlovesfunction.com/forum/index.php/. /forum and /forum/index.php would not work.
I'm no .htaccess expert but I managed to fix this problem by appending the following to my .htaccess in the root:
# BEGIN FLF
RewriteRule ^forum/$ forum/index.php/
RewriteRule ^/forum/$ /forum/index.php/
RewriteRule ^forum/index.php$ /forum/index.php/
#END FLF
The next problem I ran into was with the links from invitation emails: http://www.formlovesfunction.com/forum/entry/register/D5637IUL
I get the WP 404 when clicking that.
Vanilla 2 has a .htaccess included in the source:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
If I upload this to the /forum folder the registration invite link works, but the /forum, /forum/, /forum/index.php does not.
I have asked this question on the Vanilla board but no one has been able to help. Any ideas? Any help will be appreciated.
I'm happy to provide more information if it will help to resolve the issue.