diff --git a/www/index.php b/www/index.php index ce78373..1c072ef 100644 --- a/www/index.php +++ b/www/index.php @@ -1800,7 +1800,17 @@ try ['controller' => 'page'])->beforeMatch(function($matchedRoute, $routeObject){ return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c_20/koshiki_ovochevi_1c_21/ru", true, 301); }); - + $router->add + ('/koshiki_1c0', + ['controller' => 'page'] + )->beforeMatch(function($matchedRoute, $routeObject) { + return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c0/koshiki_ovochevi_1c1", true, 301); + }); + $router->add + ('/koshiki_1c_20{language:([/][a-z]{2})?}', + ['controller' => 'page'])->beforeMatch(function($matchedRoute, $routeObject){ + return \Phalcon\DI::getDefault()->getResponse()->redirect("/koshiki_1c_20/koshiki_ovochevi_1c_21/ru", true, 301); + }); $router->add ('/koshiki_1c0/koshiki_ovochevi_1c1', ['controller' => 'page', -- libgit2 0.21.4