I have just installed fresh laravel 5.1, only root page is showing that
Route::get('/', function () {
return view('welcome');
});
It's working perfectly but rather than any other route not working like:
Route::get('user', function () {
return "hello";
});
It throws exception 404 not found. Please help me to get out from this. Thanks in advance.
It may be because of rewrite mode is not enabled in your system. Either you enable it or access through the following url with index.php
http://localhost/blog/public/index.php/user
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With