I'm using Laravel 5 and notice that the pagination is adding a trailing slash before the ?page=#
and with that, it always redirect to a 301 page.
http://example.com/news/articles/?page=2
will do a 301 redirect to http://example.com/news/articles?page=2
This is causing my pagination using ajax to slow down because it is having 2 responses.
How to make laravel accept http://example.com/news/articles/?page=2
so it won't make a 301 redirect?
I base it through this site which is using LengthAwarePaginator
.