最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

How to remove product base from WooCommerce product permalinks

matteradmin5PV0评论

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/some-product instead of domain/product-base/some-product

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/some-product instead of domain/product-base/some-product

Share Improve this question asked Apr 11, 2019 at 9:34 stckvrwstckvrw 2852 gold badges3 silver badges14 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

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:

Post a comment

comment list (0)

  1. No comments so far