Magento 标签 URL 重写?
我正在尝试为 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您能否告诉我们您在 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?