Homepage pagination url rewrite rule problem

6.00K viewsIssues


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 ?

Thank you!

Are you sure you are using latest version?

I use the version 2.4.4. You can see the bug here : http://odp.inlb.qc.ca/


From your description, AnsPress should have nothing to do with it. Please start with providing URL to your website.

Is it all fixed the instant you disable AnsPress plugin?

Yes, if I disable Anspress, the problem is fixed.
Here is the URL : http://odp.inlb.qc.ca/

You are viewing 1 out of 3 answers, click here to view all answers.