Fix Pagination Issue in Bricks Posts Category Archive Template

By WebCare in July 21, 2025 – Reading time 1 minute

Hey guys! Let’s fix the annoying pagination issues once and for all.

For context, I get 404 errors when I turned on the “Enable Ajax”. While ajax make look seamless, it’s terrible for 404 errors, especially if you’re aiming for higher Ahref crawl score.

I went through several Bricks Forum to find the solution.

Overview Solution

Here’s a quick understanding to solve it.

  1. Change query post to “is main query”
  2. Change the pagination to “main query”

For more detailed approach follow short tutorial below.

Fix the Query Loop

In your query loop, enable the “is main query”. Declare once if you have multiple query loops.

image 1 9

Change the Pagination Value

Either add the “pagination element” or choose the element. Then choose “main query”

image 1 10

Once you’ve saved the Bricks editor, preview it. It should work correctly.

Testing

Go the the front end. Click on the pagination numbers. It should render correctly.

image 1 11

Another test you can do is going directly to the page and see it if works.

e.g. https://domain-.com/category/{term}/page/3/ and so forth

I hope this solves your problems!

You Made It to the End!🔥
Free Tips in Your Inbox
Get the latest, evergreen tips to secure, quicken and improve your WordPress in our weekly newsletter.
No spam policy, pure value tips/ tricks
Subscription Form

Written by

Edwin Masripan is the Lead Developer at WebCare with nearly 20 years experience in WordPress web development. He was a speaker at WordCamp (WordPress gathering).
https://webcare.co