言い忘れます。設定ファイル application/config/config.php を開き、この行を変更します
$config['index_page'] = “index.php”
に
$config['index_page'] = “”
アプリのルートに .htaccess ファイルを作成して、
URL から index.php を削除するには、次の .htaccess ファイルを使用します。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^LoginTut.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond $1 !^(index\.php|images|table-images|js|robots\.txt|css|captcha)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 index.php
</IfModule>
コントローラー名を非表示にすることはあまり良い考えではありません。ルーティングや他の関数へのリンクの際に多くの問題が発生するためです。
それが役に立てば幸い!