I have a custom frontpage that list custom post type (named Documents) using pagination.
I use wp_pagenavi to generate the pagination links.
It seem that there are a conflict with anspress rewrite rules and pagination on homepage. When I click on page 2 link (example.com/page/2), it automatically redirect me to homepage (example.com). But, if I manually enter “example.com/?page=2” inside URL, everything is fine.
Do you have any idea how to resolve this ?