urlManager urlFormat path urlSuffix showScriptName false rules docs do

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
"urlManager" => [
"urlFormat" =>"path",
"urlSuffix" => "/",
"showScriptName" => false,
"rules" => [
"/docs/" => "docs/staticPage",
"user/index" => "user/index",
"user/login" => "user/login",
"user/register" => "user/register",
"user/send/activation/link" => "user/activationLink",
"user/notauthorised" => "user/notauthorised",
"user/password/forget" => "user/passwordForget",
"user/<id_user:\d+>/password/reset/<confirm_token:\w+>" => "user/passwordReset",
"user/<id_user:\d+>/<confirm_token:\w+>/activate" => "user/activate",
"user/<id_user:\d+>/<confirm_token:\w+>/unsubscribe" => "user/unsubscribe",