pagination – Woocommerce Orderby catalog for products hits redirect


The problem, hits slow redirect before cached page making it seem slow.

When selecting what to order the products by something adds &paged=1 to the url which allways get redirected. This is a problem because this redirection takes up to 7(!) seconds the first time(in the screenshot it hits disk cache) and then loads the cached page. Network requests from changing the order-by dropdown
But as I know we never want to go to /produkter/?orderby=date&paged=1 I think I should be able to filter it from the URL in some way.

Had the same problem when going to the first page with pagination, but there I could add a filter to paginate_links, similar to this answer. But can I do something similiar for the woocommerce-ordering dropdown?

Anton Schillén 5 months 2022-07-10T06:44:14-05:00 0 Answers 0 views 0

Leave an answer