title: Assets in codeigniter
body: <p>I've just started using codeigniter and wanted to include some external css in my view. This is my directory structure:</p>
  
  <pre><code>application
     ....
  system
     ....
  assets
      css
          style.css
  </code></pre>
  
  <p>I'm linking the file using this html code: (Used example.com as an example, lol)</p>
  
  <pre><code>&lt;link rel="Stylesheet" type="text/css" href="http://example.com/assets/css/style.css"/&gt;
  </code></pre>
  
  <p>Here is my .htaccess file:</p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond $1 !^(index\.php|images|css|js|robots\.txt)
  RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>
  
  <p>Now, my problem is that it returns an 404 error. Say if you need more info.</p>
  
  <p>Thanks in advance!</p>