Question : yii2 redirect with 301
Answered by : rusik
Yii::$app->response->redirect(Url::to(['home']), 301);
Source : https://stackoverflow.com/questions/46786047/yii2-how-to-redirect-old-urls-with-301 | Last Update : Sat, 11 Jun 22
Answered by : rusik
Yii::$app->response->redirect(Url::to(['home']), 301);
Source : https://stackoverflow.com/questions/46786047/yii2-how-to-redirect-old-urls-with-301 | Last Update : Sat, 11 Jun 22