I have a problem with the CakePHP
routes.
I have the following URL: link And it works normally. The problem is when I go to the second page: link
Error: The requested address '/Produtos/index/61/789/page:2' was not found on this server.
I entered a configuration entry in Config / routes.php , but it did not work.
Router::connect(
'/Produtos/index/:cat/:id/page:page',
[
'controller' => 'Produtos',
'action' => 'index'
],
[
'pass' => ['id', 'cat', 'page'],
'id' => '[0-9]+',
'cat' => '[0-9]+',
'page' => '[0-9]+'
]
);
Can you help me?