I have a review page for each product which can be accessed through : "example.com/shop/feedback/review/index/product_id/2931/"
Where feedback is the module, review is the controller and index is the action.
Magento provides an automated URL rewrite for products and category based on urlkey where "example.com/shop/category-name/product-name" is rewritten to "example.com/shop/123/2931" for the router to make sense of the url.
I wanted to know if there is a way where I can rewrite "example.com/shop/feedback/review/index/product-name" to "example.com/shop/feedback/review/index/product_id/2931/" without using the manual url rewrite management tool since there would be hundreds of these pages and I can't really make one manually for each.