How to remove query string page from the first page with Knp Paginator?

Suppose I have a job list :, the list is paginated using KnpPagintor. If I click on page 1 it loads the same page but with an URL with query string :

How can I remove the ?page=1 for only the first page ?

Thanks 🙂

Source: Symfony4 Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *