Hi I use paginate() method for pagination it work fine, but <a> tag in blade file have problem my link like this:
http://localhost/blog/admin/news/?page=2
and when i click on them i'm redirect :
http://localhost/admin/news?page=2
and get 404 error and when click link like this:
http://localhost/blog/admin/news?page=2
it's work fine . what the problem ? why when use http://localhost/blog/admin/news/?page=2 redirect me an other page? thanks.
try this in ypur view
{!! str_replace('/?','?', $variable->render()) !!}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community