title: codeigniter and cpanel installation
body: <p>I am completely new to moving codeigniter to my web-server and im having trouble with the configuration. Where do I place my codeigniter project folder in www under myurl.com in in the very root directory? Am i supposed to move out the application and system folders?</p>
  
  <p>I am trying to remove index.php? from my URL name where do i place my .htaccess file in the root or in the same folder as my codeigniter directory?</p>
  
  <p>I wish to be able to type in (www.myurl.com) and be redirected to my home_controller/index
  is this possible?</p>
  
  <p><img src="https://i.stack.imgur.com/dCuvv.png" alt="enter image description here"></p>
  
  <p><em>below is my .htaccess file in it's entirety</em></p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /MMSFL/
  
  
  #'system' can be replaced if you have renamed your system folder.
  RewriteCond %{REQUEST_URI} ^system.*
  RewriteRule ^(.*)$ /index.php/$1 [L]
  
  
  #Rename 'application' to your applications folder name.
  RewriteCond %{REQUEST_URI} ^application.*
  RewriteRule ^(.*)$ /index.php/$1 [L]
  
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L,QSA]
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
  
  
  ErrorDocument 404 /index.php
  &lt;/IfModule&gt;
  </code></pre>
  
  <h2>I have also made the following changes in config/routes</h2>
  
  <pre><code>    $config['index_page'] = "";
      $config['base_url'] = "http://myurl.com/";
      $config['server_root'] = $_SERVER['DOCUMENT_ROOT'];
      $config['uri_protocol'] = 'AUTO';
  
  $route['default_controller'] = "home_controller";
  </code></pre>