On a category page, AJAX filtering works as expected but a page refresh results in a 404 not found.
This is usually because of a trailing slash (/) in an Attribute Landing Page. Remove the trailing slash in the ALP URL and the problem should be solved.