Welcome Guest, Not a member yet? Register   Sign In
404 error, problem with the URI rooting
#1

[eluser]Unknown[/eluser]
Hi all,

i have a problem with the URI rooting ! Sad

I can not identify the controller that I want and so I always have a 404 error that appears.
I do not know how!
My controller is in my file and C_ville.php routes.php I:
$ Route ['city'] = 'C_ville';

But it does not seem to point to the right place. Do you have an idea?

thank you in advance!
#2

[eluser]jmadsen[/eluser]
have you looked at http://ellislab.com/codeigniter/user-gui...uting.html?

so, with what you have, if your url is:

www.mysite.com/city

your dir structure will be:

controllers/C_ville and it will call the index function of C_ville controller.

But...I think that is not what you want. Can you give us more details?
#3

[eluser]danmontgomery[/eluser]
Code:
$route
not
Code:
$Route
or
Code:
$ Route




Theme © iAndrew 2016 - Forum software by © MyBB