Extra Light PHP Framework

Clean URLs (mod_rewrite)

Removing index.php from the url

In application/config/config.php : $config['index_page'] = 'index.php'; $config['mod_rewrite'] = TRUE; $config['allow_GET'] = FALSE; Then create a file called .htaccess in the root directory and write into it: Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond $1 !^(index\.php|application|library|public) RewriteRule ^(.*)$ index.php?url=$1 [L]