Site logo

[Support request] Category pagination not working

Home Forums Support [Support request] Category pagination not working

Home Forums Support Category pagination not working

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2513468
    yuping

    Hi,

    My category pagination only shows page 1 & 2 – although according to the amount of posts it should have page 5;
    and when you click page 2, it shows 404.

    I found exactly the same question posted before, but no answer was offered.
    https://generatepress.com/forums/topic/category-pagination-not-working/

    #2513553
    Fernando
    Customer Support

    Hi Yuping,

    So we can take a closer look at the issue, can you provide admin login credentials?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2513680
    yuping

    Done, please check, thank you!

    #2513683
    Fernando
    Customer Support

    Can you try Post Name as the permalink structure to test? This can be done in Settings > Permalinks.

    #2516116
    yuping

    Hi, I tried – it got worse, can’t even find any category page.
    So I changed back.

    #2516125
    Leo
    Staff
    Customer Support

    I don’t believe this is a theme issue as the theme does not have any control over permalinks.

    Let’s do some proper debugging.

    Can you disable the Post navigation block element and test if the default post navigation works correctly?

    #2516343
    yuping

    I disabled the Post navigation block element, and now there’s just no post navigation.

    BTW There is a page that displays all the posts from all categories, and the pagination there works.
    And the pagination urls have a “?query….” (pls see the private information)

    I think it might be the problem – the category paginations are without “?query….” but I don’t know where to fix it.

    #2516395
    Leo
    Staff
    Customer Support

    I just visited the /news page again and am still seeing the post navigation element.

    Can you disable that for me to see?

    Please also disable all plugins except GP Premium and GeneratBlocks for now.

    Thank you.

    #2516407
    yuping

    Done.
    I just purge the cache the page navigation element should be gone now.

    #2516455
    Fernando
    Customer Support

    What exactly happened when you changed it to Post Name? Where all archive pages inaccessible? Do you have a staging site where we can do some testing? If so, can you share it, and set the permalink structure to Post Name there?

    #2516702
    yuping

    Just created the staging site, please check – thanks.

    #2516706
    Fernando
    Customer Support

    I see. Can you try changing the slug name of the Categories in Posts > Categories?

    #2516813
    yuping

    Yes, now it’s ok.
    Thanks!

    #2517752
    Fernando
    Customer Support

    You’re welcome, Yuping!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.