title: Codeigniter 3 on subdomain on godaddy shared hosting
body: <p>All
  Please help me to upload codeigniter project on subdomain , my project is not working on subdomain, hosted on godaddy servers. I am getting errors. I am sure, you will help me. Please review my settings below:</p>
  
  <p>config.php</p>
  
  <pre><code>$config['base_url']    = "http://www.example.com/example-subdomain/";
  $config['index_page'] = 'index.php';
  $config['uri_protocol'] = 'REQUEST_URI';
  </code></pre>
  
  <p>routes.php</p>
  
  <pre><code>$route['default_controller'] = 'login';
  </code></pre>
  
  <p>htaccess within application foler</p>
  
  <pre><code>Deny from all
  </code></pre>
  
  <p>htaccess within root of subdomain</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  
  # Send would-be 404 requests to Craft
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
  RewriteRule (.+) index.php?p=$1 [QSA,L]
  </code></pre>