My code looks like this:

    paginate_links( 
      array(
       'next_text' => __('>'), 
       'prev_text' => __('<'), 
       'base' => @add_query_arg('page', '%#%'), 
       'format' => '?page=%#%&a='.$a, 
       'total' => ceil($count/$per_page), 
       'current' => $page)
    )

Everything works perfectly but if I click on for example second page my URL goes to `www.domain.com/something/2/?a=5` instead of `www.domain.com/something/?page=2&a=5`

Is it possible to change it into `www.domain.com/something/?page=2&a=5`?