I've tried so many ways to do it, but I can't find a solution.

I need to change the parameters in URL when I use pagination.


My url in page 2 is https://www.mysite.com.br/category/sub-category?%2Fcategory%2Fsub-category=&

And I want this:


How can I do this?

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.