【问题标题】:Running Multi Store on Magento在 Magento 上运行 Multi Store
【发布时间】:2015-05-16 06:31:37
【问题描述】:

我在 magento 1.7 中经营两家商店 ..

abc.example.com xyz.example.com

abc.example.com 是主要商店,也是我使用 magento 管理面板的地方。

在 xyz.example 我将索引文件更改为 法师::run($mageRunCode,$mageRunType); 到 Mage::run('xyz_code','xyz.example.com');

但是从这里我重定向到 404 页面。当我将第一个参数保持为空时,例如 Mage::run('','xyz.example.com');网络打开 abc.example.com

知道是什么原因造成的吗?

【问题讨论】:

    标签: magento magento-1.7 multistore


    【解决方案1】:

    更改索引文件为 Mage::run($mageRunCode,$mageRunType);到 Mage::run('xyz_code','xyz.example.com')。您需要创建符号链接以指向几个目录。

    ln -s ../public_html/app ./app
    ln -s ../public_html/errors ./errors
    ln -s ../public_html/includes ./includes
    ln -s ../public_html/js ./js
    ln -s ../public_html/lib ./lib
    ln -s ../public_html/media ./media
    ln -s ../public_html/skin ./skin
    ln -s ../public_html/var ./var
    

    这可能会对您有所帮助。 http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/navigation/multiple-website-setup

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-10-04
      • 1970-01-01
      • 1970-01-01
      • 2017-05-08
      • 1970-01-01
      • 1970-01-01
      • 2012-12-02
      • 1970-01-01
      相关资源
      最近更新 更多