title: Configuring Codeigniter on Hostinger
body: <p>I need some help to configure Codeigniter on my free hosting.</p>
  
  <p>I'm using CodeIgniter 3.0 and Hostinger for my website.</p>
  
  <p>I have my config.php as:</p>
  
  <pre><code>    $config['base_url'] = 'http://mysite/';
      $config['index_page'] = '';
      $config['uri_protocol'] = 'AUTO';
  </code></pre>
  
  <p>And I configure the .htaccess as said in this topic: <a href="https://stackoverflow.com/questions/17908220/codeigniter-website-404-error-htaccess">Codeigniter website 404 error / .htaccess</a></p>
  
  <pre><code>   RewriteEngine On
     RewriteCond %{REQUEST_URI} ^/system.*
     RewriteRule ^(.*)$ index.php?/$1 [L]
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.+)$ index.php?/$1 [L]
  </code></pre>
  
  <p>And even with this I still get the 404 Page not found from Codeigniter, what am I missing? or what am I doing wrong? I'm new in this so if you need to see something else tell me and I'll upload it. Thanks!</p>
  
  <p><strong>EDIT:</strong> I forgot to mention that in my localhost is working, but on live is when I get the 404 Error.</p>