Skip to content
  • Hot
  • Top
  • New
0
vote

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

completed

Remove the category base from the permalinks

Guest shared this feature

September 15, 2019

Allow to remove the ‘product-category’ (or any other text for that matter) base of an URL.

More: https://www.wpintense.com/forums/topic/add-support-for-plugins-that-remove-the-category-base-when-using-the-filters/

View Live Progress

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

Trello Card

9 Comments

  1. Dave H.
    November 8, 2019 @ 5:12 pm

    This has been implemented on foundthru now and I’d really appreciate all interested parties testing and letting me know if you see any issues at all:

    https://foundthru.com/baking/

    Reply

  2. Krzysztof T.
    November 8, 2019 @ 5:38 pm

    Thank you!

    This should be implemented in all the places, so get_term_link returns:
    https://foundthru.com/dogs/dog-bowls/

    not:
    https://foundthru.com/product-category/dogs/dog-bowls/

    currently URLs are duplicated:
    https://foundthru.com/dogs/dog-bowls/
    https://foundthru.com/product-category/dogs/dog-bowls/

    Reply

  3. Krzysztof T.
    November 8, 2019 @ 6:23 pm

    old URLs with the /product-category/ base should no longer be available

    Reply

  4. Krzysztof T.
    November 14, 2019 @ 12:42 pm

    Reply

  5. Krzysztof T.
    November 14, 2019 @ 3:10 pm

    Reply

    • Dave H.
      December 18, 2019 @ 8:48 am

      Thanks for help with testing. I found other issues too where pages were being overridden. This will need a bit more work before I can release. Other fixes being released first.

      Reply

  6. Krzysztof T.
    November 15, 2019 @ 12:22 am

    https://foundthru.com/baking/dogs/books/black/
    https://foundthru.com/black/dogs/ + again wrong rel next/prev: http://prntscr.com/px4r2r

    We need to add some additional rewrite/redirect rules and force permalink ordering set in FWW options or improve canonical URL feature to avoid duplicate content. Currently we can’t stop our competitors and then google bot from typing the additional items into the URL.

    ‘index.php?post_type=product&fww_filters=$matches[1]’

    Maybe, we can add all the combinations as rewrite rules, so there will be available only one unique URL like here:
    https://wordpress.stackexchange.com/a/220104/175330

    Reply

  7. Krzysztof T.
    November 21, 2019 @ 11:58 pm

    ?

    Reply

  8. Dave H.
    March 29, 2020 @ 7:15 pm

    Reply

Leave a Reply

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