URI Routing with Multilingual and Controllers in Subfolders |
[eluser]millo[/eluser]
Hi, I've set up multilingual web site with the following: http://maestric.com/doc/php/codeigniter_i18n Which meant that I had to add the following multilingual routing to my routes file: Code: /* This all worked fine, however after that I decided that I want to have my admin and my client controllers seperate (took Phil Sturgeons sound advice http://ellislab.com/forums/viewthread/102960/) so in my controllers directory I created an 'admin' and 'client' folder and added the relevent controllers into each. Now however, if I want to access the client side of the site I have to access the following URL: Code: http://dev1.local/en/client/home What I want is for the 'client' bit to not be there. Is there any way for this to do this without effecting the multilingual set up? Hope someone can help or give me some idea. |
Welcome Guest, Not a member yet? Register Sign In |