0

I am trying to create pagination in my theme. Everything is ok except when I click on pagination buttons for example [example.com/blog/?page=2] it will redirect to example.com/blog, but it's ok for another parameter like [example.com/blog/?_page=2]. I want to know what is the problem and how can I fix it

1
  • Note that page is a reserved query arg in WordPress, so basically, _page worked because it's not a reserved query arg. But you should edit your question and add your code - your pagination function/code and the code in the template used on that page (/blog/).
    – Sally CJ
    Jul 9 at 14:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.