Skip to content

Magento 2 How create front controller with a specific path?

I want create controller for specific path, but i can’t know how i can do this.

My controller must work with path like: site.com/usa/some-review/dynamicParam

My path for controller: site.com/some-review/index/index

How i can create controller for usa/some-review/dynamicParam or forward redirect from usa/some-review/dynamicParam to some-review/index/index?

Thanks)