- This topic has 13 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
January 29, 2023 at 4:36 pm #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/January 29, 2023 at 6:50 pm #2513553Fernando 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
January 29, 2023 at 11:16 pm #2513680yuping
Done, please check, thank you!
January 29, 2023 at 11:19 pm #2513683Fernando Customer Support
Can you try
Post Nameas the permalink structure to test? This can be done in Settings > Permalinks.January 31, 2023 at 12:15 pm #2516116yuping
Hi, I tried – it got worse, can’t even find any category page.
So I changed back.January 31, 2023 at 12:18 pm #2516125Leo
StaffCustomer SupportI 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?
January 31, 2023 at 2:52 pm #2516343yuping
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.
January 31, 2023 at 3:49 pm #2516395Leo
StaffCustomer SupportI 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.
January 31, 2023 at 3:58 pm #2516407yuping
Done.
I just purge the cache the page navigation element should be gone now.January 31, 2023 at 5:40 pm #2516455Fernando 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 toPost Namethere?February 1, 2023 at 1:48 am #2516702yuping
Just created the staging site, please check – thanks.
February 1, 2023 at 1:54 am #2516706Fernando Customer Support
I see. Can you try changing the slug name of the Categories in Posts > Categories?
February 1, 2023 at 3:42 am #2516813yuping
Yes, now it’s ok.
Thanks!February 1, 2023 at 5:24 pm #2517752Fernando Customer Support
You’re welcome, Yuping!
-
AuthorPosts
- You must be logged in to reply to this topic.