Here you can find more detailed description.
- How to use the actual post/term title instead of native slug?
- How to remove /product & /product-category from WooCommerce URLs?
- How to include SKU in WooCommerce permalinks?
- How to make hierarchical post types & taxonomies permalinks flat (non-hierarchical)?
- How to remove numbers (“-2”, “-3” …) appended to the permalinks?
- How to keep the dots and/or append .html to the permalinks?