【问题标题】:Magento: Where is Url rewrite index process logic stored?Magento:Url 重写索引过程逻辑存储在哪里?
【发布时间】:2011-09-10 21:37:59
【问题描述】:

我需要制作像这样的产品网址 "specials/product-url-key.html" 。我发现最简单的方法是在 core_url_rewrite 表中的每个产品 url 重写的开头添加“specials/”,请求路径字段。

我也想对索引器进程进行更改,以便在重新运行时保留更改,但我不知道它在哪里?

我在产品 URL 中包含类别选项已禁用。

【问题讨论】:

    标签: magento url-rewriting indexing


    【解决方案1】:

    Mage_Core_Controller_Varien_Front->dispatch()

    在此处阅读更多信息:http://www.magento-tutorial.net/how-does-magento-url-rewriting-work/

    【讨论】:

    • 酷,感谢您的回答,但这对我的情况没有帮助:(如果不停止其他重写,我将无法更改其中的任何内容。
    • 但是你可以制作一个模块。每个 magento 模块都可以有自己的重写。
    猜你喜欢
    • 2016-09-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-25
    • 2018-06-24
    • 1970-01-01
    相关资源
    最近更新 更多