I do not have a fg\Urlalias\components map, but I do have fg\yii2-url-alias\components map.
I the documentation incorrect, or I am reading the docs wrong?
My web config is:
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
[
'class' => 'fg\UrlAlias\components\BaseUrlRule',
'connectionID' => 'db',
//if you want 301 redirect
// 'redirect301' => true
]
]
],