mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-11 19:20:01 +08:00
@@ -537,7 +537,7 @@ from URL manager. You can set [[yii\web\UrlManager::$normalizer|UrlManager::$nor
|
|||||||
'enableStrictParsing' => true,
|
'enableStrictParsing' => true,
|
||||||
'suffix' => '.html',
|
'suffix' => '.html',
|
||||||
'normalizer' => [
|
'normalizer' => [
|
||||||
'normalizer' => 'yii\web\UrlNormalizer',
|
'class' => 'yii\web\UrlNormalizer',
|
||||||
'action' => UrlNormalizer::ACTION_REDIRECT_TEMPORARY, // use temporary redirection instead of permanent
|
'action' => UrlNormalizer::ACTION_REDIRECT_TEMPORARY, // use temporary redirection instead of permanent
|
||||||
],
|
],
|
||||||
'rules' => [
|
'rules' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user