I am trying to remove the index.php in the url for Code Igniter. According to the official guide, I should add the following code to the .htaccess file.
RewriteE
I think the following code should work for you
RewriteEngine on RewriteCond $1 !^(index\.php|css|js|public|themes|captcha|robots|documents|\.txt) RewriteRule ^(.*)$ /projectFolder/index.php/$1 [L]
Hope this helps you.