zoukankan      html  css  js  c++  java
  • magento创建多域名方法

     

    时间:2014-08-18 16:21来源:未知 作者:VCPHP网站模板 点击: 次
    1.magento后台system-magage stores create website : 比如m.shop.com,code:m_shop create store: 使用新建的website,name:Main Store,Root Category:Root Catalog create store view:使用新建的store,name:English,code:m
     

    1.magento后台system->magage stores

    create website  : 比如m.shop.com,code:m_shop

    create store: 使用新建的website,name:Main Store,Root Category:Root Catalog

    create store view:使用新建的store,name:English,code:m_en,然后开启它

    2.system->Configuration  选择左上角Current Configuration Scope选择你刚新建的

    然后选择GENERAL->Web 设置Unsecure 和secure选项,去掉Use Default视图的单选框,Base URL填写m.shop.com

    3.修改.htaccess,在文件最后添加

    SetEnvIf Host www.shop.com MAGE_RUN_CODE=base 
    SetEnvIf Host www.shop.com MAGE_RUN_TYPE=website
    
    SetEnvIf Host m.shop.com MAGE_RUN_CODE=m_shop
    SetEnvIf Host m.shop.com MAGE_RUN_TYPE=website
  • 相关阅读:
    配置步骤
    swap区
    Oracle的left join中on和where的区别
    drop与truncate
    关于trace
    oracle执行计划连接方式
    oracle系统结构
    查询存档
    oracle统计信息
    分区索引
  • 原文地址:https://www.cnblogs.com/alex-13/p/15292511.html
Copyright © 2011-2022 走看看