WooCommerce类别URL修改

发布于 2025-01-30 17:09:44 字数 276 浏览 3 评论 0原文

我的商店页面的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

氛圍 2025-02-06 17:09:44

在设置下 - >永久链接 - >产品永续链接刻度“与类别的商店基础”并节省更改。

在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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文