title: base_url including base address twice.and not loading bootstrap css file
body: <p>new at codeigniter, trying simple code to load bootstrap css files with base_url() function.tried some answers on stackoverflow,but issue not solved.</p>
  
  <p><strong>my view name is.... articles_list.php</strong> 
  <strong>my controller name... user.php</strong>
  <br><br><strong>i edit config.php as follow</strong>  'localhost/ci';</p>
  
  <p><strong>i edit autoload.php as follow</strong> i load url helper in autoload.php</p>
  
  <p>articles_list.php (loading css in view file)</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="&lt;?php echo base_url('assets/css/bootstrap.css') ?&gt;" &gt;
  </code></pre>
  
  <p><strong>user.php(controller)</strong></p>
  
  <pre><code>$this-&gt;load-&gt;helper('url');
      $this-&gt;load-&gt;view('public/articles_list');
  </code></pre>
  
  <p>when i run my view file, css is not loading, when i check view source it should give me both stylesheet url and link address as <code>"localhost/ci/assets/css/bootstrap.css"</code> but when i see view source it show <code>&lt;link href="localhost/ci/assets/css/bootstrap.css"&gt;</code>  and when mouse over at link it shows me <code>localhost/ci/localhost/ci/assets/css/bootstrap.css</code> link address. please 
   help me to solve this issue and help me to learn codeigniter.
  <a href="https://i.stack.imgur.com/NqsKF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NqsKF.png" alt="enter image description here"></a></p>