CodeIgniter Inside Wordpress behaving badly (htaccess issue?) |
[eluser]blewis[/eluser]
I have an existing WordPress 3.x install in my root and I am now adding a custom CI application (ver 2.0.2) inside of that (subdirectory /ci). The CI install went fine, but I am having issues with the URIs. I believe it's an htaccess problem, but I can't be sure. Wordpress htaccess: Code: RewriteEngine On CI htaccess: Code: RewriteEngine On When I try http://www.mydomain.com/ci/index.php, I get my default controller...no problems. I can even get other classes without issue as long as the index.php is there (e.g. http://www.mydomain.com/ci/index.php/auth/login/ works just fine). However, once I try to remove the "index.php" portion, it breaks -- I get the 404 page for my WordPress app! So if I just do http://www.mydomain.com/ci/, I get a Wordpress 404. I have the base_url configured: $config['base_url'] = 'https://www.mydomain.com/ci/'; I have tried numerous suggestions on various forums about changing the WP htaccess, but nothing has worked. I also tried adding a RewriteBase in the CI htaccess, but that didn't affect it at all. Any thoughts? Driving me nuts! thanks, Bryan |
Welcome Guest, Not a member yet? Register Sign In |