I uploaded my project to a sub domain of my website. On that sub domain I installed wordpress on it and installed codeingiter to directory called app. The default controller is set to login which shows up when I go to the app/ url but once I click on any of the links "app/create-account or app/login" it takes me to wordpress default 404 error page. I am using codeingiter 3 and have been trying for a few days to get this working correctly. My class names are according to the styles required (ucfirst) and I believe it is something to with my htaccess file. Everything works fine on my localhost.
Current htaccess file in my codeingiter directory "/app/"
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]
Current wordpress htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^/app(/*)? - [L,NC]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Any suggestions are much appreciated :)