There's a problem with Facets:
Steps to reproduce:
----------My take on this-------------
When a facet is clicked it should remove the paged query (back to page 1). It's wrong to carry it over, it may not exist. I hope this can be fixed. Thanks.
This is my dirty cheap fix until this get addressed. Place this code on 404.php on your WP template:
<?php
$url = $_SERVER['REQUEST_URI'];
if (strpos($url, '/page/') !== false) {
$url2 = preg_replace("/\/page\/[0-9]{1,3}/",'',$url);
header('Location: '.$url2);
}
?>
It's so dirty you might need to shower after using it, but it works.
Confirmed this. Thanks @Salamander3 for letting us know
Just pushed a fix @Salamander3 , could you test if you have some time ?
@oscarssanchez I'm sorry i was away. Back now, How can i get the fix for testing?
Yes that fixes it. Thanks. Please add https://github.com/10up/ElasticPress/pull/1347 to the next version of the plugin.
Most helpful comment
Confirmed this. Thanks @Salamander3 for letting us know