Magento 1.7.0.2索引管理覆盖URL重写 [英] Magento 1.7.0.2 Index Management overwriting URL Rewrites

查看:94
本文介绍了Magento 1.7.0.2索引管理覆盖URL重写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Magento 1.7.0.2上的索引管理有一个小问题.

I have a slight problem with the Index Management on Magento 1.7.0.2.

我对类别有很多自定义URL重写.

I have quite a few custom URL rewrites for categories.

当我重新编录目录URL重写"时,它会删除类别的所有自定义重写,并将它们重新设置为系统默认值.

When I re-index the Catalog URL Rewrites it deletes all of my custom rewrites for the categories and sets them back to the system default.

重新编制索引之前: http://i.imgur.com/4s1oo.png 重新索引后: http://i.imgur.com/0U8zE.png

Before re-indexing: http://i.imgur.com/4s1oo.png After re-indexing: http://i.imgur.com/0U8zE.png

还附带说明,缓存管理和索引管理之间有什么区别?

Also on a side note, What are the differences between cache management and index management?

感谢您的帮助.

推荐答案

Magento正在更改这些内容,因为您没有更改 id_path .如果您为自定义类别重写指定了不同的 id_path 值,Magento将不会覆盖它.

Magento is changing those because you didn't change the id_path. If you specify different id_path value for your Custom Category rewrite, Magento will not overwrite it.

您还可以使用自定义网址重写"来实现您想要的目标.例如:

Also what you want to achieve could be done with Custom Url Rewrite. For example:

请求路径:商品目录/类别/视图/id/118

request path: catalog/category/view/id/118

目标路径:公司"

通过这种方式,您将系统重写为起点.

In this way you're making a destination of system rewrite yours start point.

这篇关于Magento 1.7.0.2索引管理覆盖URL重写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆