I am running WooCommerce and FacetWP on a WP 4.5 install.
I have set the permalink structure of the "Products" to the following, the custom taxonomy is a location based taxonomy.
/accommodation/%custom_taxonomy%
This generates links below, the second "paged" link refuses to work. https://noxrentals.feedmybeta.com/accommodation/camps-bay/ https://noxrentals.feedmybeta.com/accommodation/camps-bay/page/2/
I have checked the rewrite rules and i can see there are rules being generated to handle that rewrite. (see below)
[accommodation/([^/]+)/page/?([0-9]{1,})/?$] => index.php?area=$matches[1]&paged=$matches[2] I did notice that the following rewrite rule is also there, for the single products. What i think is happening is its trying to apply this rewrite, and fails. https://noxrentals.feedmybeta.com/accommodation/camps-bay/villa-blanca/
[accommodation/([^/]+)/([^/]+)/page/?([0-9]{1,})/?$] => index.php?area=$matches[1]&product=$matches[2]&paged=$matches[3] Is the order of the rules important?
Does WordPress stop stepping through the rules once it has found an applicable one? If so would moving the page rule I want, above the other rule to fix the problem? How would I do that?