Answer the question
In order to leave comments, you need to log in
How to customize 404 page in yii2?
Is there any easy way to replace the view for 404 Exceptions? If the condition "if statuscode == 404, then this->render['404custom']" is set in the views->error.php file, then the content of the 404custom view is not rendered, only the title changes.
yii2 basic
Answer the question
In order to leave comments, you need to log in
Good evening.
And rename the old file to error_old.php and put your file next to it?
Why such difficulties?
Here is an answer to a similar question, I think this answer is also suitable for your case
. How to rewrite authentication in Laravel?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question