RewriteRule ^assets(.*)$ application/assets$1 [L] RewriteRule ^(.*)$ index.php [QSA,L]