How to get a clean pagination link without variable
Sure you retrieve link like site.com/page/?cp=2, because you added get parameter cp. If you wanna link like site.com/page/cp/2 – remove base parameter and set format to ?cp=%#% If you wanna link like site.com/page/2 – remove ‘base’ and ‘format’ parameters and stay it default. Because format – is ?page=%#% by default.