They have a section on it in their URL docs: https://codeigniter.com/user_guide/general/urls.html#removing-the-index-php-file-
https://codeigniter.com/user_guide/general/urls.html#removing-the-index-php-file-