Routing problem |
[eluser]Unknown[/eluser]
Hello, Routing problem: Routes.php: Code: $route['krems/(.*)/(.*)'] = 'krems/search/$1/$2'; Htaccess Code: RewriteEngine on Route .../krems/xx/xx - working just fine Route .../ru/krems/xx/xx - not working tried diferent ways, no success...
[eluser]Clooner[/eluser]
[quote author="[GS]" date="1282055294"]Hello, Routing problem: Routes.php: Code: $route['krems/(.*)/(.*)'] = 'krems/search/$1/$2'; Htaccess Code: RewriteEngine on Route .../krems/xx/xx - working just fine Route .../ru/krems/xx/xx - not working tried diferent ways, no success...[/quote] What error does it give? Your routes seems fine. Also strange that the one does work and the other not. As I can see from your route setup you have 2 controllers with the same name with one of them in the subdirectory RU. This seems odd to me and more logically that you mean: Code: $route['krems/(.*)/(.*)'] = 'krems/search/$1/$2'; otherwise there might be an error with the krems controller in the ru directory.
[eluser]Unknown[/eluser]
Error 404 No /ru/ is langege prefix. http://codeigniter.com/wiki/URI_Language_Identifier Workign: Code: ../ru/krems/search/ Not working Code: ../ru/krems/ |
Welcome Guest, Not a member yet? Register Sign In |