Hi, i have this url:
Code:
https://mydomain.com/article/39/being-part-of-the-riders-growth-is-worth-every-sacrifice
and i would like have:
Code:
https://mydomain.com/being-part-of-the-riders-growth-is-worth-every-sacrifice
I have tried with routes but i can't. Someone can help me please?
This is the route for article page:
Code:
$routes->add('article/(:num)/(:any)', 'Frontend/Main::article/(:any)');
With this i remove the controller from URL:
Code:
$routes->add('(:any)', 'Frontend/Main::$1');
Thanks.