Sorry, the page you are looking for could not be found without showing any error : Laravel 5.5

All your WEB routes will be located in the file:

routes\web.php

Register your routes there.


Order

Pay attention to routes order, it's really important (fooled me so many times to be honest).

Because Laravel goes through list of routes top to bottom until it finds the first match, as a rule of thumb, try to define routes with no parametres first then routes with parameters in your route file (web/api).

Example: (based on Radical's answer)

Route::get('/blog/{id}', 'BlogController@show');

Route::get('/blog/comments', 'BlogController@comments');

In this case, Route::get('/blog/{id}', 'BlogController@show'); comes first so it would be selected. Even when what you really want is Route::get('/blog/comments', 'BlogController@comments');

My two cents :)


I ran into this issue when findOrFail method failed in the Controller method.