I read here some information of the issue but didn't find any solution. Is it possible to remove product base using some lines of code for example a filter in functions.php of my theme or plugin? So that the permalinks will be like domain.com/some-product instead of domain.com/product-base/some-product


Yes you can use free Premmerce WooCommerce Permalink Manager Pro plugin that allow you to change the product permalinks like you are expecting. See this screenshot of the allowed settings with this plugin:

enter image description here

| improve this answer | |
  • Thanks! Is it possible to make the plugin working (maybe hacking its code) without clicking by the "Allow & continue" button and sending my data to them? – stckvrw Apr 12 '19 at 18:59
  • @stckvrw Nobody is going to hack this plugin for you… I use it just as it is. You can inspect the plugin source code and pick the necessary code to make it yours if you like… – LoicTheAztec Apr 12 '19 at 19:22
  • Ok, I meant if it's one or two lines of code. I didn't know it's so big work – stckvrw Apr 12 '19 at 19:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.