Pagination problem (404) if Page is Parent (if Child it works, weird!)
-
I am having the weirdest pagiantion problem.
If a page is an index of Posts or Custom Posts, the pagination works only if that page is a child of another page. When the page is not a child, pagination gets a 404 page.You can see it here:
(Normal Posts – Doesn’t work)
https://manonuda.com/blog/
https://manonuda.com/blog/page/2(Custom Posts – Doesn’t work)
https://manonuda.com/agenda/
https://manonuda.com/agenda/page/2(Custom Posts – Works!)
https://manonuda.com/extras/quotes/
https://manonuda.com/extras/quotes/page/2Whenever I set the not working index pages as a child of another page, it works.
I tried to deactivate all plugins, except WP-Pagenavi and qTranslate (because I got a function that breaks the page without the plugin installed), and didn’t get anything as a result.
Do you have any idea what’s wrong?
PS:
I already wrote a topic about this:
https://www.ads-software.com/support/topic/custom-post-type-pagination-working-only-for-child-pagesBut I thought to write a new one because I discovered the problem applies not only to Custm Types, but to normal Posts as well. So the Topic title doesn’t describe the problem.
Didn’t mean to “overpost”.
- The topic ‘Pagination problem (404) if Page is Parent (if Child it works, weird!)’ is closed to new replies.