My Project could not able to view in online
<p>My project is not working in online  (cpanel)
     "<a href="https://www.sample.com/folder" rel="nofollow">https://www.sample.com/folder</a>"</p>

<p>But i give my url like this means working<br>
    "<a href="https://www.sample.com/folder/index.php/controller_name" rel="nofollow">https://www.sample.com/folder/index.php/controller_name</a>"</p>

<p>i want like "<strong><em>sample.com/folder/controller_name</em></strong>"</p>

<p>how to resolve this. I want my URL like above the first one </p>

<p>My Config file information </p>

<pre><code>$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
</code></pre>

<p>my Route file like this, Is here any Problem.</p>

<pre><code>$route['default_controller'] = "pages/home";
$username = '(:any)';
$route['404_override'] = '';
$route['sample/([0-9]+)'] = "sample/index/$1";
$route['pages/profile'] = "pages/profile"; 
$route['pages/userList'] = "pages/userList";
$route['auth/logout'] = "auth/logout";
$route['auth'] = "auth/logout";
$route['auth/login'] = "auth/login";
$route['auth/register'] = "auth/register";
$route['pages/post'] = "pages/post";
</code></pre>