简体   繁体   English

Magento标记网址重写?

[英]Magento Tag Url-Rewrite?

I am trying to make a permanent url rewrite for tags in Magento. 我正在尝试对Magento中的标签进行永久性的URL重写。

Unfortunately with url-rewrite it won't work. 不幸的是,使用url-rewrite不能正常工作。

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? 为了使这项工作有效,我必须在哪里进行更改?

Could you please tell us what's the rule that you're using with the url rewrites? 您能否告诉我们,URL重写使用的规则是什么? It should be a custom url rewrite with the following fields: 它应该是具有以下字段的自定义网址重写:

ID Path: whatever ID路径:任意

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

Target Path: /tag/bathroom 目标路径:/ tag / bathroom

Redirect: yes (301) 重定向:是(301)

The path /tag/product/list/tagId/1/ is working, isn't it? 路径/ tag / product / list / tagId / 1 /是否有效,不是吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM