Site icon Hip-Hop Website Design and Development

WooCommerce pagination: take away ‘web page’ from url

I wish to change WooCommerce pagination hyperlinks from:

I discovered many examples of tips on how to change ‘/web page/’ to ‘/one thing/’ however I would like solely the quantity of the present web page. I additionally tried this:

$wp_rewrite->pagination_base = ''; 

However then my url seems like this:

instance.com/class//3/

And that is not good both. Is it even doable to take away ‘pagination base’ from url construction?