Handle 404

hi

[color="#1C2837"][size="3"]I want to [/size][/color][size="3"][color="#ff0000"]handle[/color][/size][color="#1C2837"][size="3"] the [/size][/color][color="red"][size="4"]404[/size][/color][color="#1C2837"] [/color][color="red"][size="4"]error[/size][/color][color="#1C2837"][size="3"] before it throws an exception, treat it and redirect the user to other link. i would also like to custom handle all types of errors.[/size][/color]

[color="#1C2837"][size="3"]is there any way to do this in yii2[/size][/color]

[color="#1C2837"] [/color]

[color="#1C2837"][size="3"]thanks[/size][/color]

Hi!

Have you read: http://www.yiiframework.com/doc-2.0/guide-runtime-handling-errors.html

Already?

And:

Don’t do this!

Don’t get angry because you receive no answer!

Remember:

All people who help you here are getting NO money for it and most of the time NO "thank you" or anything!

These people are helping you in their FREE TIME!

So keep that in mind every time!

Regards

sorry