- Affected Version
- WoltLab Suite 3.0
I have WordPress installed in my site's root directly /and WoltLab is installed in a sub-folder /community/ When making my .htaccess file I notice merging them always results in an internal server error. I would like to continue using both but it would appear the rewrite riles together are incompatible.
Does anyone know how to successfully merge these two?
edit: The code is not displaying correctly for me so I have attached the files below.
WordPress
Apache Configuration
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPress
WoltLab
Apache Configuration
<IfModule mod_rewrite.c>RewriteEngine onRewriteBase /# Rewrite application /blog/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^blog/(.*)$ blog/index.php?$1 [L,QSA]# Rewrite application /calendar/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^calendar/(.*)$ calendar/index.php?$1 [L,QSA]# Rewrite application /gallery/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^gallery/(.*)$ gallery/index.php?$1 [L,QSA]# Rewrite application /filebase/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^filebase/(.*)$ filebase/index.php?$1 [L,QSA]# Rewrite application /forum/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^forum/(.*)$ forum/index.php?$1 [L,QSA]# Rewrite application /cms/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^cms/(.*)$ cms/index.php?$1 [L,QSA]# Rewrite application /wcf/RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^wcf/(.*)$ wcf/index.php?$1 [L,QSA]# Rewrite application /RewriteCond %{SCRIPT_FILENAME} !-dRewriteCond %{SCRIPT_FILENAME} !-fRewriteRule ^(.*)$ index.php?$1 [L,QSA]</IfModule>
If anyone knows how to merge these together I would be happy to hear it.