Welcome Guest, Not a member yet? Register   Sign In
Pagination , Routing 404 - Newbie
#4

(04-29-2017, 02:17 AM)arma7x Wrote: $route ['posts/(:any)' ] = 'posts/view/$1' ;
This route find single post. In your pagination, '/post/{page}' will find post using page param not navigate to other pages and I'm sure in your Post controller searching for invalid post will show 404 page. Btw at the bottom of route, $route ['(:any)' ] = 'pages/view/$1' ; also for viewing single post.


Thank you for the reply , but as a newbie i just tried removing that route , but still the pagination is not working for me . Can you please let me know how to make the pagination work ?
Reply


Messages In This Thread
Pagination , Routing 404 - Newbie - by anoopd - 04-28-2017, 10:57 PM
RE: Pagination , Routing 404 - Newbie - by arma7x - 04-29-2017, 02:17 AM
RE: Pagination , Routing 404 - Newbie - by anoopd - 04-29-2017, 08:02 PM
RE: Pagination , Routing 404 - Newbie - by anoopd - 04-29-2017, 08:06 PM
RE: Pagination , Routing 404 - Newbie - by anoopd - 04-30-2017, 08:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB