.
.
...2017-03-02 13:07:53
Yii
..., 2017-03-02 13:07:53

UrlManager pages not working, what could be wrong?

Now there is this rule
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'' => 'site/index',
],
but apart from the main page, it doesn't work nothing xn--b1acfswmfi.xn--p1ai/blog

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-03-02
@webinar

'rules' => [
'/' => 'site/index',
'<controller>/<action>' => '<controller><action>',
'<controller>/<action>/<id>' => '<controller><action>',
],

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question