I have a serious problem with a single application developed in CI. Currently my urls are as follows
http://www.example.com/content/index/mission/
I want to remove / content / index / from the URL. Therefore, it should look something like this.
http://www.example.com/mission
I have a routing method and .htaccess. But nothing works.
Could you help me?
Here is my .htaccess file
Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|images|css/js/style/system/feature_tab/robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [QSA,L]
I also tried to route CI by specifying reouters in config / router.php. But it did not work: (
source share