Again: Your current behavior of having
/controller/action/page:2?parm1=value1
instead of
/controller/action/?parm1=value1&page=2
is NOT CakePHP’s default behavior. See CakePHP 4 Tutorial 2022 - Going through the Code (Part 4) - YouTube
You must have some custom code which changes CakePHP’s default paginator behavior.
Without telling us what custom code/config you have we can’t help you with how to fix that.
How about we start with the basics:
- Which CakePHP version are you using?
- What does your
indexmethod (or whatever you using to paginate a query) look like? - How do you output the table including the paginator links in your template?