For example, link:
/shop/phones/brend/apple/display/retina/color/red
where:
phones - category alias
brend - name of
The route:
my_shop:
pattern: "/{path}"
defaults: { _controller: "MyShopBundle:Default:shop" }
requirements:
path: "^shop/.+"
and then you could just parse the $path in the controller:
class DefaultController extends Controller {
...
public function shopAction($path) {
// $path will be 'shop/phones/brend/apple/display/retina/color/red'
...
}
...
}