<?php
//woo paginnation.Delete first link /page/1
add_filter( 'paginate_links', function($link){
    
    $link = str_replace("/page/1", "", $link);
//    error_log(print_r($link, true));
    return $link;
},10,1);