Ryan McAdams
Active member
I recently just moved to a new server... for some reason wordpress and xenforo are not playing nicely which baffles me, it's been working for a long time.
I've got the main site up at www.domain.com and the forums at www.domain.com/forums
Each software package (wordpress and xf) has their own .htaccess.
Wordpress .htaccess is:
XF .htaccess is:
The issue:
When I enable the .htaccess for wordpress, the main site works great.... but the xenforo links 404... if I disable the wordpress .htaccess the forums work fine.
This exact config worked on my old server but I'm running the exact same software versions, AllowOveride and mod_rewrite are both enabled.
Any thoughts?
I've got the main site up at www.domain.com and the forums at www.domain.com/forums
Each software package (wordpress and xf) has their own .htaccess.
Wordpress .htaccess is:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
XF .htaccess is:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
The issue:
When I enable the .htaccess for wordpress, the main site works great.... but the xenforo links 404... if I disable the wordpress .htaccess the forums work fine.
This exact config worked on my old server but I'm running the exact same software versions, AllowOveride and mod_rewrite are both enabled.
Any thoughts?