The default site route is " link " or " link "
When I go to the sign-in page, for example, I would like to access " link " instead of link " as the codeiginiter obliges ...
Can you change that?
.htacess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
config.php file
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
$config['base_url'] = '';
routes file is default
$route['default_controller'] = 'welcome';
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
Controller, name " Login "
class Welcome extends CI_Controller {
public function index()
{
$this->load->view('index');
}
and View is inside a " login " folder that has a sign in .php