Hello,
on my website (link 1 private content) I use the Avia element “Blog posts”, which shows me the posts from three categories of a custom post type. This works wonderfully.
Unfortunately, however, the pagination created by the AVIA element “Blog posts” leads to a 404 error /?avia_forced_reroute=1 (link 2 private content).
If I call the /page/2/ page for a custom post type category separately, it works (link 3 private content), which tells me that /page/ pages work. Why not for the custom post type itself?
Best regards,
Marcel
Hey Marcel,
Thank you for your patience, the avia element pagination should be /?avia-element-paging=2 not /page/2/ otherwise it will be a conflict with WordPress.
This is why you are getting a 404 error for /page/2/ thus the /?avia_forced_reroute=1
The reason /optiker-leipzig-angebote-rabatte/page/2/ works is becuse it is the native WordPress catagory URL and not the element.
I’m not sure how you achive the /page/2/ in the pagination of the element, but this is not correct, please see our demo here, often users try to change the url from /?avia-element-paging=2 to /page/2/, but will not work.
Best regards,
Mike