I have following configuration in my web.php
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'enableStrictParsing' => false,
'rules' => [
'r/<url:\d+>' => 'r/index',
[
'pattern' => '<action>',
'route' => 'controller/<action>'
]
]
]
When I type http://www.example.com/r/BRb2T5wCCz it shows 404. However, it should show me r/index page. What am I doing worng?
\d+means digits only and you have got letters there as well.