I have not found any tutorials out there that address how to "properly" create a 404 page in this specific version of Laravel 5.6. I found some outdated once that is a bit different that how Laravel 5.6 works. Any inputs will help.
相关问题
- Laravel 5.6 - Registration Form is not working and
- Wordpress change all 404 to 410 error code
- 404 error when switching between stores when in a
- Why is jQuery ajax get returning a 404 Not found e
- Can't get IIS 7/Coldfusion to deliver 404
相关文章
- Zurb Foundation 5, modernizr not found
- hapi.js - 404 route VS static files route
- JWT/LARAVEL token expired
- Pylons - Changing the regular 404 Not Found page t
- Status Code Exception (com.google.gwt.user.client.
- Django: GET css returns 404?
- Serving static files for development mode in Djang
- 404 pages and Lazy Loading in Angular2
I found the answer by reading the Laravel Docs "Custom HTTP Error Pages".
Create a "Errors" Folder under "/resources/views/" and create a file named "404.blade.php" then add this code:
then add this route to your "web.php" file:
I have written a blog about it: click here