Share Share on Facebook Share on Twitter Pinterest Email Create a .htaccess file and put code within htaccess. RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] 0 Siddharth Shukla Website Related Posts PHP Codeigniter 3 Google Recaptcha Form Validation Example August 10, 2020 How to remove public/index.php/ from URL in Codeigniter 4 November 8, 2019 Codeigniter 3 CRUD Operation with MySQL Database October 8, 2019 Database Query in Codeigniter October 7, 2019 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.