HOW TO REMOVE PRODUCT & PRODUCT-CATEGORY FROM URLS IN WOOCOMMERCE
|If you see your woo commerce product url like http://yourdomain.com/product-category/category-name this then sure you want to delete / replace product-category text from url.
How you can configure and replace Product-Category URL structure
Follow This Step
Step 1. Permalink URL settings for Woo Commerce plugin can be found in the WordPress > Settings > Permalink menu. please see below screen short.
From here you can configure the website URL structure for your woo commerce shop and product internal pages.
Step2. Now you can see product category base optional in below picture. By default product-category text used by woo-commerce plugin. Now you can change text as per your need. Make sure you must use any best keyword in that text so that help in term of SEO.