I\'m fairly new to codeigniter, But i\'m learning well, I\'m going to add a css, images, js, ... folder but I\'m not sure where to put it
Someone to
I would revert back the changes you made to your index.php, as it looks to me like they're the source of the problem.
I've been using a similar setup for CodeIgniter, whereby all my images, CSS, and JS go in a folder called static, and literally all I did was create that folder and put the files in it, and they worked fine. If you want to remove index.php from your URL's, you'll need to make sure that your .htaccess file doesn't rewrite the URL's for your static files.