A WooCommerce filter 404 error appears when the filter's link keeps the number of the page you are on, for example /page/3/, while the filtered products fit on fewer pages. Page 3 does not exist for those results, so WordPress correctly shows "Page not found". The fix is made in the theme or the filter plugin, so that every filter selection takes you back to page 1.
How do I tell that the page number is the cause
- Open a product category and go to page 2 or 3.
- Select a filter, for example colour or size.
- Look at the address in the browser bar when the error appears.
If the address looks like example.gr/product-category/shirts/page/3/?filter_colour=blue, the link kept the page number and added the filter as URL parameters after the ?. Now try the same filter from page 1 of the category. If it works normally from there, the problem is the one described here.
With filters that work through AJAX, without reloading the whole page, the address may not change straight away. In that case you see the same symptom as an empty product list or an error message where the products should be.
Why do I see page not found after filtering
WooCommerce product filters shrink the list. If the category has 60 products on pages of 20, there are 3 pages. If 12 products remain after filtering, there is only 1 page. The link asking for page 3 asks for something that does not exist, so WordPress responds with a 404. That is why the WooCommerce filter page not found error appears only from page 2 onwards and never from page 1.
This means that:
- The server and the hosting are working correctly. The 404 response is WordPress's expected behaviour.
- The site is not broken. The same products show normally from page 1.
- The problem lies in the way the theme or the filter plugin builds the filter link.
What to check in the theme and the filter plugin
A category's filters may come from the theme, from WooCommerce itself or from a separate filter plugin. Start with whatever displays the filters on the page.
- Find which tool provides the filters. Check under Appearance whether the filters are a widget or block of the theme, or whether the Plugins menu has a plugin with filter settings.
- Look for a pagination setting. Many filter tools have an option that resets the page when the filter changes, worded along the lines of reset pagination or go to first page. Turn it on.
- Check the AJAX mode. If there is a choice between loading with AJAX or with a page reload, try the other option. Often only one of the two keeps the page number.
- Check the pagination type. If the theme offers numbered pages, a "load more" button or infinite scroll, changing the type may solve the problem, because the last two don't put
/page/in the address. - Update the theme and the filter plugin. Issues like this are often fixed in a newer version. Read the update's changelog.
- Clear the cache after every settings change, as explained in clearing the cache, and test in a private browsing window.
If no setting solves it, send the theme or plugin developer the steps and the address that produces the error. The code fix is small: the filter link must remove /page/N/ from the address.
How do I find whether the theme or a plugin is to blame
To find the cause without affecting visitors, run the test on a copy of the site (staging). See how to create one with Softaculous or WP Toolkit in the article on the child theme and testing on staging.
- On the copy, deactivate the filter plugin and use WooCommerce's own filters.
- If the problem goes away, the filter plugin is to blame.
- If it remains, temporarily activate a default WordPress theme.
- If it works with the default theme, the theme or one of its settings is to blame.
Frequently Asked Questions
I get a /page/2/ 404 in the category even without a filter, is it the same problem?
Not exactly. This WooCommerce pagination 404 has a different cause. First open Settings > Permalinks and click Save Changes without changing anything, so the address rules are rewritten. If it continues, check whether the theme and a plugin set a different number of products per page. The number set in Settings > Reading may also affect themes that use it.
Am I losing sales or Google rankings because of this?
A visitor who sees "Page not found" often leaves, so it is worth fixing quickly. Filtered pages with /page/N/ are not pages you want to appear on Google, so the 404 there does not harm the category's normal pages.
Can I solve it with a redirect in .htaccess?
Technically yes, but it hides the problem instead of fixing it and may affect pagination elsewhere too. The right fix is in the filter's settings or code.
It appeared suddenly after an update, what do I do?
Check which plugins or which theme were updated that day. If the problem is serious, you can restore the site to before the update as described in WordPress broke after an update, and then let the developer know.
Can Konet fix it?
The issue lies in the code of the theme or the filter plugin, not in the hosting. See what hosting support covers. If you want us to look into it, open a ticket from the Client Area with the address that produces the error.