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