WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Remove 'product-category' and 'product&#0 (8 posts)

  1. jpierre70
    Member
    Posted 1 year ago #

    Hi!
    I i'm trying to remove the 'product-category' and 'product' slugs from the URL so that my website URL structure can be more simpler. Please see the examples below:

    1 | HOW IT LOOKS NOW

    http://www.mywebsite.com/product-category/category-slug
    http://www.mywebsite.com/product/product-slug/product-description

    2 | HOW I'D LIKE IT TO BE (remove the 'product-category' and 'product' slugs)

    http://www.mywebsite.com/category-slug
    http://www.mywebsite.com/product-slug/product-description

    Thanks!

    JP

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    This won't be easy, in fact I doubt its possible without a lot of hacking. Being custom post types, they need a base. Its a WordPress thing.

    You have the option to prepend them with the shop page slug, which does make them more clean.

  3. spotcream
    Member
    Posted 1 year ago #

    do you have the answer to this as its set as resolved ?

  4. Vanquish Consulting Technology
    Member
    Posted 1 year ago #

    Actually it was quite easy, install the plugin "Remove slug from custom post type" to remove the '/product/' slug, no settings required. Install the plugin "SEO Ultimate" to remove the 'product-category' slug, in SEO Ultimate settings under 'Permalink Tweaker' check the 'Product Categories' and save. We use it for affiliates so cannot comment on other areas such as cart.

  5. Kimse
    Member
    Posted 1 year ago #

    Actually it was quite easy, install the plugin "Remove slug from custom post type" to remove the '/product/' slug, no settings required. Install the plugin "SEO Ultimate" to remove the 'product-category' slug, in SEO Ultimate settings under 'Permalink Tweaker' check the 'Product Categories' and save. We use it for affiliates so cannot comment on other areas such as cart.

    Sorry, this is not working...
    /Kim

  6. BassDL
    Member
    Posted 1 year ago #

    Works fine for me, thanks!!!

  7. candell
    Member
    Posted 1 year ago #

    Superb, works brilliantly thanks

  8. akiana
    Member
    Posted 10 months ago #

    Thanks Vanquish Consulting, working fine for my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic