jeudi 27 août 2015

Laravel 5.1 Pagination URL Error 404 Not Found

I'm using Laravel 5.1 on WAMP Server 2.5.

And I have this

404 Not Found

error while working on pagination.

While I run my site locally using this php artisan serve

php artisan serve --port=212

I run to my site index url http://localhost:212/displays. The pagination works fine, its pagination link work fine on every page http://localhost:212/displays?page=2.

But when I run it manualy without php artisan serve (http://localhost/bookstore/public/displays), the pagination link goes wrong. The pagination link originally printout http://localhost/bookstore/public/displays/?page=2, but it automatically change into http://localhost/displays?page=2 when the page fully rendered.

Is anyone have same problem like me? Glad if any of you cloud help.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1fI2luU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire