Having trouble getting the 2 to play nice together… Client wants to keep their existing Wordpress blog for now which lives in a subdirectory: /blog. When I add the usual htaccess code to remove the index.php from EE in the root, I can still access the blog home, but any deep urls get routed back to EE. Here’s what I have tried from suggestions I’ve seen online:
root htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>blog htaccess:
Options All -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond $1 !^(index\.php) [NC]
RewriteRule ^(.*)$ /blog/index.php/$1 [L]
</IfModule>