title: CodeIgniter : How to remove 'folder name' in CodeIgniter URL
body: <p>So I have URL Like : <a href="http://localhost/folder_name/home" rel="nofollow">http://localhost/folder_name/home</a></p>
  
  <p>I want to remove/delete <code>'folder_name'</code> from URL so my URL becomes <code>http://localhost/home</code>.</p>
  
  <p>I already try this code :</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  
  RewriteRule ^((?!folder_name/).*)$ folder_name/$1 [L,NC,R]
  </code></pre>
  
  <p>This code let me access the url in <a href="http://localhost/home" rel="nofollow">http://localhost/home</a> , but everytime after I 'press ENTER' the URL in browser. the URL will become <code>http://localhost/folder_name/home</code> again </p>
  
  <p>is it possible to 'permanently remove' the folder name ?</p>
  
  <p>Thanks :)</p>