Closed tapan288 closed 2 years ago
@tushargugnani I've tried working on page/{pageNumber}
feature but it seems like we need to manually create everything cause default pagination doesn't allow this, it uses the page={pageNumber}
format, so have you worked with this before or have any ideas on how we can work around this?
@tapan, Can we create a 301 redirect rule so that /page/2
is redirected to posts?page=2
and so on ....
@tapan288 Instead of
showAllPosts
request parameter, we need to create two routes the home page route i.e./
will show the 5 popular posts and another route i.e./page/{pageNumber}
will show all the posts.