Support » Plugin: WooCommerce » How to customize product and category url

  • Resolved ans11

    (@ans11)


    Hi

    I want to change the url of my woocomomerce product and product category. Currently url of product category is mydomain.com/product-category/category-name and product is my-domain.com/product/product-name. But I do not want that. I want it to be such that product category should be mydomain.com/category-name and product url should be mydomain.com/product-name.

    Please tell me that how can I do this. I am looking forward for your response.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Product URL you may edit in this place: https://wpdesk.me/ag/0af2t.png, and Product category base here: https://wpdesk.me/ag/hqc64.png.

    No I do not want that. I have tried that method but it does not worked. If I edit url with the method you have shown then still there will be mydomain.com/product/product-name. But I do not want that. I want it to be mydomain.com/product-name. And similar with the product category.

    • This reply was modified 4 months, 1 week ago by ans11.

    Hi there,

    It seems like you want to change the permalinks for your product URLs. In order to change the permalinks, please go to Dashboard > Settings > Permalinks and make the changes accordingly but this will still not remove the /product/ before the product-name in the URL.

    While it is possible to remove the options via a plugin or custom code, we do not recommend this as the category is included to help with performance and other issues as described here: https://docs.woocommerce.com/document/removing-product-product-category-or-shop-from-the-urls/.

    I hope this helps!

    Plugin Support Hari Shanker R

    (@harishanker)

    Automattic Happiness Engineer

    Hi @ans11

    I hope the suggestions offered in the previous reply, helped in guiding you in the right direction. The steps listed should assist you in changing the Product URLs.

    I’m marking this as Resolved, but feel free to reach out to us here in the forums if you have further questions. We’re happy to help!

    All the best!

    Hi,
    For woccomerce product I want to show product url in this way /product/product-name URL
    but for some products related to medicine I want to show them in this way /medicine/medicine-name URL
    Is it possible to achieve?

    Thanks,
    Dwaipayan

    Hi,
    I want this below
    we need “/medicine/medicine-name” for Medicines “/service/service-name” for Services and /product/product-name as default.
    Is it possible to achieve?
    Thanks,
    Dwaipayan

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.