title: Codeigniter links not working without index.php in url
body: <p>I developed one web application in which I used codeigniter, Structure of all the URLs of my web application is as follows:</p>
  
  <pre><code>&lt;?php echo base_url();?&gt;/Admin/Promotions
  </code></pre>
  
  <p>this type of links are working well in my <strong>Localhost</strong> but not working on my hosting server (<em>I'm using Godaddy hosting</em>)</p>
  
  <p>But some links which have index.php in URLs are working both on localhost and server too structure of this king of links are </p>
  
  <pre><code>&lt;?php echo base_url();?&gt;index.php/Admin/Pramotions
  </code></pre>
  
  <p>What shoud I do so that URLs without index.php works well ??</p>
  
  <p>My HTACCESS :</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L] 
  &lt;/IfModule&gt;
  </code></pre>