- This topic has 15 replies, 5 voices, and was last updated 3 weeks, 2 days ago by Tom.
May 5, 2020 at 3:17 am #1270178david
For some reason my Load more button works fine on the main blog page but not on category pages. Looked everywhere and tried all that I can but I can’t find the reason for this anywhere.
Any help would be amazing!May 5, 2020 at 3:41 am #1270197DavidStaffCustomer Support
do you have a custom permalink structure like
/%category%/%postname%/in your Settings > Permalinks ? I know this used to mess up archive pagination on older versions of WP ….. Let me knowMay 11, 2020 at 2:33 am #1278723david
Hi, sorry for the delay in getting back to you.
Yes I use that type of permalink structure but I use infinite scroll and the load more button so there is no pagination as such.
Basically on the main blog page it works fine – you hit Load more and it gives another batch underneath on the same page. But on category pages it just tries to load, the button disappears and no more posts are actually loaded.
I’ve tried changing on page settings, settings in GP, wordpress and a few others but I can’t find the issue.
Do you know what else it might be?May 11, 2020 at 6:42 am #1279023DavidStaffCustomer SupportMay 11, 2020 at 7:06 am #1279056david
This is happening on my blog category page e.g. on this page: https://cpdonline.co.uk/knowledge-base/health-and-safety/
I use a custom structure as described but this is for individual posts – would this still impact the category page?
I can’t really change any URL structures to be honest without it impacting SEO – is there a workaround that you know of?
Thanks for the help!May 11, 2020 at 5:05 pm #1279976TomLead DeveloperLead Developer
The way our infinite scroll work is it looks for the next page of posts using your normal WP pagination URL: /page/2
Then it grabs the posts and loads them without reloading the page.
If it’s not working, it means your default pagination is broken.
I did some looking around and found this: https://wordpress.stackexchange.com/questions/172958/custom-permalink-structure-leads-to-be-404-on-pagination
It seems that permalink structure breaks pagination – perhaps one of the solutions there will help?May 12, 2020 at 1:40 am #1280381david
Thanks for getting back to me.
I’ve tried all solutions on that page as well as this one: https://meigwilym.com/fixing-the-wordpress-pagination-404-error/ and none have worked for me.
Is there anything else you would recommend?
I don’t really want to alter any URL structures as this would impact on the rankings of pages.May 12, 2020 at 3:28 am #1280488DavidStaffCustomer SupportMay 12, 2020 at 11:39 am #1281341marketingeszkozok
I have the same problem.
AttilaMay 12, 2020 at 11:49 am #1281353LeoStaffCustomer SupportMay 13, 2020 at 9:29 am #1282840david
No it still doesn’t work even without the infinite scroll for some reason. The infinite scroll just never loads any more and the load more button loads then disappears without pulling any more posts to show.
I think that the previous solutions don’t work because I have such a customer permalink structure on our blog.
Anything else at all that comes to mind would be much appreciated!May 13, 2020 at 4:41 pm #1283357TomLead DeveloperLead DeveloperMay 14, 2020 at 2:36 am #1283734david
Just tried this and they do on the general blog page but not when you’re in a category for some reason.May 14, 2020 at 7:03 am #1284068DavidStaffCustomer SupportMay 14, 2020 at 7:25 am #1284102david
No it is still the same on mine.
So on this page for example I get a 404: https://cpdonline.co.uk/knowledge-base/food-hygiene/page/2/ but the first page is fine (https://cpdonline.co.uk/knowledge-base/food-hygiene/).
On the main blog page the pagination works here: https://cpdonline.co.uk/knowledge-base/ it’s just the categories that don’t.
- You must be logged in to reply to this topic.