CodeIgniter 2+ .htaccess file

htaccess

This is a general purpose .htaccess file for CodeIgniter. You can do all kinds of interesting things with an .htaccess file, but this one primarily rewrites URLs so you can remove index.php from your URL structure. This file also servers as a good foundation from which to build more complex .htaccess rules.