• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$route config

#1
[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?

#2
[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>


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.