![]() |
$route config - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html) +--- Thread: $route config (/thread-42896.html) |
$route config - El Forum - 06-23-2011 [eluser]nolaeh[/eluser] www.mypage.com/welcome/ doenst work. www.mypage.com/index.php/welcome/ this work.. and the settings in $route is. $route['welcome'] = "welcome"; (it is the default controller) I think the problem is that index.php doesnt instanciete. how to get rid of the /index.php/ from the url path? $route config - El Forum - 06-23-2011 [eluser]nolaeh[/eluser] problem to solve it was.. add this content in .htaccess file <IfModule mod_rewrite.c> RewriteEngine on RewriteCond $1 !^(index\.php|pp|images|public|robots\.txt|css) RewriteRule ^(.*)$ ./index.php?/$1 [L] </IfModule> |