Woocommerce paging incorrect url

I have a problem happening with the paging on a page, which is using the woocommerce plugin.

Locally the paging works fine, and the 2nd page button(or the next arrow) points to:
somePage/somePage/page/2/ (as it should).

But, the same thing uploaded on a server is changed to:
/wp-admin/admin-ajax.php?paged=2 and this opens an empty page with a 0 in it.

Console says:Failed to load resource: the server responded with a status of 400 () admin-ajax.php:1

A weird thing i realized is that this is happening on chrome/edge but not IE.

Also, I realized that when refreshing the page the URL is correct at first, but then gets overwritten to the incorrect one.

I’m not very familiar with WP, so i’m not sure in which file/line to look at to detect possible problems. Any suggestions?

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com