Something like this would have been perfect, but looks like CUrlmanager is too limited: ‘product/view/[<cat\d:\s+>]+/<categorie:\s+>/<slug:\s+>’ => array(‘product/view’),
Yes I think I may do that or add three routes to have the first three categories at maximum.
I made a function $article->getRoute()
I think it would have been efficient to have route alias with model var binding so we can change the route format without changing all CHtml::link() in code