Magento 标签 URL 重写?

发布于 2024-12-04 09:29:33 字数 243 浏览 1 评论 0原文

我正在尝试为 Magento 中的标签进行永久 url 重写。

不幸的是,使用 url-rewrite 它不起作用。

标签的路径是:

magento/tag/product/list/tagId/1/

我想将 url 重写为:

magento/tag/bathroom

我必须在哪里进行更改才能使其工作?

I am trying to make a permanent url rewrite for tags in Magento.

Unfortunately with url-rewrite it won't work.

The path to the tag is:

magento/tag/product/list/tagId/1/

I want to make a url rewrite to:

magento/tag/bathroom

Where do I have to make changes to make this work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

多彩岁月 2024-12-11 09:29:33

您能否告诉我们您在 url 重写中使用的规则是什么?它应该是具有以下字段的自定义 url 重写:

ID 路径:无论

请求路径:/tag/product/list/tagId/1/

目标路径:/tag/bathroom

重定向:yes (301)

路径 /tag/product/ list/tagId/1/ 正在工作,不是吗?

Could you please tell us what's the rule that you're using with the url rewrites? It should be a custom url rewrite with the following fields:

ID Path: whatever

Request Path: /tag/product/list/tagId/1/

Target Path: /tag/bathroom

Redirect: yes (301)

The path /tag/product/list/tagId/1/ is working, isn't it?

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