Forums

Pagination problem (404) if Page is Parent (if Child it works, weird!) (5 posts)

  1. gian-ava
    Member
    Posted 1 year ago #

    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)
    http://manonuda.com/blog/
    http://manonuda.com/blog/page/2

    (Custom Posts - Doesn't work)
    http://manonuda.com/agenda/
    http://manonuda.com/agenda/page/2

    (Custom Posts - Works!)
    http://manonuda.com/extras/quotes/
    http://manonuda.com/extras/quotes/page/2

    Whenever 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:
    http://wordpress.org/support/topic/custom-post-type-pagination-working-only-for-child-pages

    But 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".

  2. jdaily
    Member
    Posted 1 year ago #

    Your site seems to be working okay ... did you figure it out?

    I'm having the same problem. All of my categories paginate fine, but my main posts page returns a 404 upon pagination.

    Interestingly, if I change my Dashboard Reading Settings so that "front page displays your latest posts", then they paginate fine ... but when I make my front page static and direct my posts page to "Blog" where it belongs, then my main blog doesn't paginate.

    Broken:
    http://www.jqdaily.com/blog
    http://www.jqdaily.com/blog/page/2

    Works:
    http://www.jqdaily.com/blog/paintings
    http://www.jqdaily.com/blog/paintings/page/2

    Can anyone help?

  3. gian-ava
    Member
    Posted 1 year ago #

    jDaily, I got you email, but I'll answear here so that it can be helpful for everybody.

    Actually the pagination problem I was having was due to the fact of having a page and a category base with the same name, or a page and a custom type witht the same name. So I changed that, because WP doesn't allow you that. Which is not the solution I was looking for.

    I explain the general limitation in this forum post:
    http://wordpress.org/support/topic/permalinks-infinite-frustration-a-huge-wp-limitation-problem

    Which is ignored, as of now, from the community.

    Try to lool and see if the page-category-custom type name is your problem too.
    Hope that helps.

  4. jdaily
    Member
    Posted 1 year ago #

    Thanks so much for replying. That must be it, then - I have a category base and page with the same name.

    That's awful news though ... I would have to reconfigure the whole structure of my site to fix that.

    Hope somebody hears you....

  5. gian-ava
    Member
    Posted 1 year ago #

    jdaily, I got this problem explained in another topic:

    http://wordpress.org/support/topic/pages-and-custom-types-cannot-have-the-same-name-so-how-to-structure-permalinks

    It would be a good idea if you could "pass by" and have a say, so that the problem gets noticed by the community.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic