Matias,
I tried your suggestion, but it still didn't work.
- CodeIgniter still works fine
- WordPress pages still accessible with /cms/ in the URL
- WordPress pages without /cms/ in the URL results in CodeIgniter 404
page
Here's my .htaccess file:
Options -Indexes
Options +FollowSymLinks
Options -MultiViews
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
#-----------------------------------------------------------------------------
# Integrate WordPress per
#
http://groups.google.com/group/nzphpug/browse_thread/thread/e35d10e39ec0d95?hl=en
#-----------------------------------------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^cms/(.*)$ /cms/index.php [L,QSA]
#RewriteRule ^cms/(.*)$ /cms/index.php/$1 [L,QSA]
#-----------------------------------------------------------------------------
# CodeIgniter
#-----------------------------------------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
#RewriteRule ^(.*)$ /index.php/$1 [NC,L,QSA]
#-----------------------------------------------------------------------------
# Secure .svn directories
#-----------------------------------------------------------------------------
RewriteRule (\.svn)/(.*?) - [F,L]
Did I miss something?