Category URLs Fixer for WooCommerce
EXPLAINING THE PROBLEM:
Let’s say that one of your categories is food > pizza. The main URL will be:
If you try to replace “food” with anything else, it will work anyway (try on yourself with your own site!). For example:
It works even if you remove the main category:
The result is that you will get a lot of duplicated content: several pages with different URLs but same data.
This plugin automatically improves WooCommerce URL structure for product categories/subcategories, removing (redirecting) duplicated contents.
If you go to:
You will be automatically redirected to:
www.example.com/products/food/pizza/ (the main, unique, “official” and canonical URL).
Just install the plugin and it will start doing its job, automatically. No configuration is needed!
1.03 – Bug fixes
1.02 – Now the redirect preserves the original querystring (filters or sorting), if present.
1.01 – Fixed a bug that was causing an unwanted redirect to the frontend when filtering by category from the admin panel—thanks to paolo_rossato for the bug report!
1.00 – Initial release