Hello, @PR,
Thank you for your inquiry. Regarding the WordPress permalinks, you can check the settings by going to the Dashboard >> Settings >> Permalinks.
In the “Product Permalinks” section, you can select the option “Shop base with the category” and clear your browser cache to see the changes.
For a better reference, please refer to the image provided at the following link: https://postimg.cc/4Y45VJCx.
Alternatively, you can look for an SEO plugin that provides the functionality to change the URL as per your requirements. We recommend the Yoast SEO plugin.
We hope this information is helpful. If you have any further questions, please do not hesitate to contact us.
Best Regards,
8Theme’s Team