I need to the routing URL like the following
http://www.website.com/module-name/controller-name/{article-name}/{article-id}
i tried using the routes.ini file but it's not working
routes.index-latest.route = "index/latest/$1/:id"
routes.index-latest.module = "index"
routes.index-latest.defaults.controller = "latest"
routes.index-latest.defaults.action = "index"
routes.index-latest.defaults.id = ""
can you anyone suggest me on the issues or please tell me any other way to achieve the URL like through bootstrap file.
i searched on the net but i am not getting the right solution.
i fixed myself like example @
in routes.ini