How to change the links in the navigation?

Hello! Tags to the question indicated such as I don't know how to be right...
In General, do page navigation. The page buttons are generated with php and the links work like:
But the page still have filters that also passes the GET parameters to the end if the filters are active, then the link of the first page is this:
And now the question is... How to generate page numbers using filters? On the side of php transferring existing GET parameters or there are some more interesting ways?
August 19th 19 at 23:23
1 answer
August 19th 19 at 23:25
when sending a GET add params : { page: 33, tags: [12,23,43,11], class:[6,7,1] }. It is also possible to combine the query params/query

utochnyu - get( "url" + page, { tags: [12,23,43,11], class:[6,7,1] } );
where page is the parameter
and the object is a query

Find more questions by tags JavaScriptPHP