rewrite rules – Auto Pretty URLs for Woocommerce category filtering URLs?


We are looking to rewrite the Woocommerce products filtering URL like this:

Into pretty URL like this:

Thus far, we have this in functions.php:

add_action( 'init',  function() {
} );

We also refreshed the permalinks by Settings > Permalinks > Save Changes.

But as you can see at this URL:

It’s just the plain shop home page without any filtering at all.

How can I make this work? Is it possible at all?

0 2 years 2022-03-29T10:18:06-05:00 0 Answers 0 views 0

Leave an answer