Why is my link for bootstrap.css link return a wrong one? The link for bootstrap becomes this:
http://localhost/ciproj/localhost/ciproj/assets/css/bootstrap.css
but I am using a code like this
<link rel="stylesheet" text="text/css" href="<?php base_url(); ?>assests/css/bootstrap.css />
My config.php is set to:
$config['base_url'] = 'localhost/ciproj';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
My .htaccess is
<IfModule mod_rewrite.cs>
RewriteEngine On
RewriteCond $1 !^(index\.php|images|Scripts|css|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
and my directory structure is like this
-ciproj
-application
-system
-index.php
-assets
-css
-bootstrap.css
-js
-.htaccess