Hello! I have a task cut url for example:
https://site.ru/page/?utm_source=1&utm_medium=2&utm_campaign=3&utm_content=4&utm_term=5
on the:
I have a router file:
use Phalcon\Mvc\Router;
$router = new Router();
$router->add(
'/r_([A-Za-z0-9] {8})',
[
'controller' => 'index',
'action' => 'index',
'alias' => 1
]
);
return $router;
I get the error:
RHyft64KlController handler class cannot be loaded
Very good it would be to get a link without prefix "r_"
How do I configure the router?