WooCommerce类别URL修改
我的商店页面的URL看起来像这样:example.com/shop/
类别URL看起来像这样:example.com/category/category/weatshirts/
我需要它们看起来像这样: example.com/shop/category/weatshirts/
我尝试从WP永久链接产品类别base 进行编辑设置,但是类别显示404页。
请帮忙
My shop page's URL looks like this: example.com/shop/
Category URLs look like this: example.com/category/sweatshirts/
I need them to look like this: example.com/shop/category/sweatshirts/
I tried to edit setting from WP permalinks Product category base but then the category show 404 page.
Please help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在设置下 - >永久链接 - >产品永续链接刻度“与类别的商店基础”并节省更改。
在URL中使用Shop Base和类别的永久链接设置
Under Settings -> Permalinks -> Product Permalinks tick "Shop base with category" and Save Changes.
Settings for Permalinks with shop base and category in url