title: live server shows 404 error, but not on local, codeigniter 3
body: <p>I have four identical pages that only differs in some identifiers but the logic is very much the same. All of them works on localhost. Three of those pages works okay on live server, but one of them returns a 404 for some reasons I can't understand.</p>
  
  <p>I use XAMPP 3.2.2 and Sublime for developing it on local. I moved it to GoDaddy Deluxe Linux for live. My Codeigniter version is 3.1.10.</p>
  
  <p>I already tried answers from most of the questions on StackOverflow:</p>
  
  <ol>
  <li><p>All controller and model names' first letters are capitalized in the file name and inside the file.</p></li>
  <li><p>All of the .htaccess codes on here: <a href="https://github.com/tasmanwebsolutions/htaccess_for_codeigniter" rel="nofollow noreferrer">https://github.com/tasmanwebsolutions/htaccess_for_codeigniter</a></p></li>
  <li><p>I have two .htaccess files, one of them is inside the application folder, and one is outside. I don't know if that's confusing the system? But I have another website on a different hosting that has the same .htaccess files and they're working okay. And anyway, if that's confusing the system, why does it only affect one of the four identical pages?</p></li>
  </ol>
  
  <p><strong>.htaccess outside application folder</strong></p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ /index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p><strong>.htaccess inside application folder:</strong></p>
  
  <pre><code>&lt;IfModule authz_core_module&gt;
      Require all denied
  &lt;/IfModule&gt;
  &lt;IfModule !authz_core_module&gt;
      Deny from all
  &lt;/IfModule&gt;
  </code></pre>
  
  <p><strong>All of the controllers of the four files has this up top:</strong></p>
  
  <pre><code>&lt;?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  //session_start(); //we need to call PHP's session object to access it through CI
  
  class Question1 extends CI_Controller
  {
  </code></pre>
  
  <p>and the rest is normal code stuff that are working on three of those four files.</p>
  
  <p><strong>In config. php I have:</strong></p>
  
  <pre><code>$config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>
  
  <p>and base_url is great.</p>
  
  <p>Models and views are okay, as far as I can see, and the rest of the website is functioning alright with the included .htaccess. My routes are working okay, as well.</p>
  
  <p>I'm so lost right now.</p>
  
  <p>PS. I have a custom 404 page. When I input assessment.com/index.php/question1 it shows that custom 404 page. But when I open assessment.com/question1 it shows codeigniter's own 404 page (and not my custom one, for some reasons). I think that tells something, I just don't know what.</p>
  
  <p>EDIT</p>
  
  <p><strong>Here's my routes.php:</strong></p>
  
  <pre><code>$route['default_controller'] = 'home';
  $route['404_override'] = 'Error404';
  $route['translate_uri_dashes'] = TRUE;
  </code></pre>
  
  <p>I opted not to do
  $route['question1'] = "Question1";
  in routes because it doesn't change anything.</p>