title: How to Call codeigniter controller function without url without index
body: <p>I want to call codeigniter controller class function Like this. but this is not working 
  i want remove index.php from URL</p>
  
  <p><img src="https://i.stack.imgur.com/gfJSv.png" alt="enter image description here"></p>
  
  <p>With index.php this working well How to Remove index.php from url ?</p>
  
  <p><img src="https://i.stack.imgur.com/yaT0B.png" alt="enter image description here"></p>
  
  <p>I changed </p>
  
  <pre><code>   $config['index_page'] = 'index.php'; 
  </code></pre>
  
  <p>To </p>
  
  <pre><code>   $config['index_page'] = '';   
  </code></pre>
  
  <p>but it's not worked</p>