Skip to content
  • Hot
  • Top
  • New
3
votes

You have ... votes left in this category for this week!

completed

Add support for plugins that remove the ‘product-category’ base

KecoShop shared this feature

September 15, 2019

Plugins that have the feature to remove ‘the product-category’ base from URLs are not currently compatible with the Fast Layered Category Widget and Fast Attribute Widget.

The 3 plugins I have tested are Permalink Manager Pro (I will send you the .zip file and license), SEO for WooCommerce by RankMath (free on WP.org), and Premmerce Permalink Manager (free on WP.org).

To replicate this issue, create a product category called “Shoes” and one attribute, brand, with the term “Nike”. Make sure to have at least 1 product that has this category and attribute.

In the sidebar of the shop page, add the FWW Fast Layered Category Widget and Fast Attribute Widget.

Go to the Shop Page and activate the “Shoes” filter for the product category . You will get an URL like this:
– /product-category/shoes/
Now activate the “Nike” filter as the product Brand (which is an attribute). You will get an URL like this:
– /product-category/shoes/nike/

Next, use any of the 3 plugins mentioned above to remove the product-category base.

Go to the Shop Page and activate the “Shoes” filter for the product category . You will get an URL like this:
– /shoes/ – this works as expected
Now activate the “Nike” filter as the product Brand (which is an attribute). You will get an URL like this:
– /shoes/nike/ – this shows 0 results (when there should be at least 1 product)

If you manually type in your browser address /product-category/shoes/nike/, then it will only show the expected results.

Please let me know if anything is unclear or if you need any help from my end.

View Live Progress

A Trello card has been created for this feature request. You can watch progress live using the card below.

Trello Card

1 Comment

  1. Dave H.
    March 29, 2020 @ 7:14 pm

    This has been implemented and tested in beta. It’s fast and it includes 301 redirects from the old product category URLs to new ones.

    It also updates the canonical URLs if you’re using Yoast.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *