Welcome Guest, Not a member yet? Register   Sign In
Language Identifier routing problem
#1

[eluser]RHS[/eluser]
Hi everyone, im using language identifier for a website i'm working with.

I have my controller "site" and function "page" to show content from database.

Everything was working great with these routes:

http://localhost/project/site/page/id
http://localhost/en/project/site/page/id

At some point, I had to change my routes to:

$route['id_item'] = "site/page/id_item";

So i can use http://localhost/project/id instead last one.

Well, that route works, but when change lang to "en" with this route:

http://localhost/en/project/id

Does not work, sends me to 404. Hope someone can help.
#2

[eluser]RHS[/eluser]
Made a mistake posting last time on the routes.

The routes I meant to post are:



Everything was working great with these routes:

http://localhost/project/site/page/id
http://localhost/project/en/site/page/id

And

http://localhost/project/en/id




Theme © iAndrew 2016 - Forum software by © MyBB