lundi 22 juillet 2019

Laravel routing not work when change the default URL

I installed laravel 5.4 using composer. and i tried to change default URL and brows. but that did not work and gave message could not find the page. but default route is work well.

I tried this on windows 10, xampp with laravel 5.4 and chrome browser.

Default route work with this URL localhost:8080/cms/public

Route::get('/', function () { return view('welcome'); });

follow route did not work: localhost:8080/cms/public/home

Route::get('/home', function () { return view('welcome'); });

I expected the same view which provide default route but displayed an error "The page you are looking for is could not be found"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire