We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Routing the type of personal pages

For example: url.domen/phalconphp

There is a "phalconphp" parameter.

It is necessary to activate the "profile controller" and method "show", with parameter "phalconphp". How to make this routing?



11.9k

already found the solution

$router->add('/{name}', array( 'controller' => 'controller', 'action' => 'test', ) );