What is the correct way for Laravel 5.6 to redirect another route if it is 404 error?
I created the resources / views / errors / folder and the 404.blade.php and it worked fine, but I do not want to display the error, I want it to be redirected to another page.