My current .htaccess file is like this It hides .php from the url.
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|images|assets|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Now I want to redirect my site to also remove www i.e I want to redirect
http://www.thefutureshop.com.pk/index.php
to
http://thefutureshop.com.pk
My site is built using codeigniter.