Welcome Guest, Not a member yet? Register   Sign In
$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>




Theme © iAndrew 2016 - Forum software by © MyBB