My current Url look like this :
http://www.example.com/testdesign/index.php/tasks
And I need it to redirect to:
http://www.example.com/testdesign/tasks
My codeignitor root .htaccess file contains
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.?)index\.php/(.*) /$1$2 [R=301,NE,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
mod_rewrite is enabled on my apache server.
In my config file :
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
when I run it from the localhost,it shows me like this:
http://www.example.com/tasks
But I want to remove index.php only not subdomain.
I know it might be a very small problem, but I'm unable to find the error.
Would you please give me proper suggestion about it?
Any kind of help would be highly appreciated.
Thanks in advance.