'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
[
'pattern' => 'category_1',
'route' => '/site/category',
'defaults' => ['cat' => 'category_1']
],
[
'pattern' => 'sub_category_5',
'route' => '/site/sub',
'defaults' => ['al' => 'sub_category_5']
],
],
],