【问题标题】:How set the base url in the magento?如何在magento中设置基本网址?
【发布时间】:2011-11-02 06:43:11
【问题描述】:

我已经创建了 cms 页面,例如“保修”。在我输入的 Url 键字段中 “保修单”。我在导航菜单中显示 cms 页面。所以保修页面也显示在那里。当我在主页或任何其他 cms 页面上并单击保修页面时,它工作正常并将我重定向到页面“http://example.com/magento/index.php/warranty”但是当我在具有 URL“http://example.com/magento/index.php/checout/cart”的购物车页面,然后单击保修页面,它将我重定向到路径“http://example.com/magento/index .php/checout/cart/warranty" 无效并显示 404 not found 消息。 有什么问题,我将如何解决?

【问题讨论】:

    标签: magento magento-1.5


    【解决方案1】:
    update core_config_data set value="unsecure.domain.com" where path="web/unsecure/host";
    update core_config_data set value="secure.domain.com" where path="web/secure/host"; 
    

    Source.

    【讨论】:

      【解决方案2】:

      在 CMS 中使用 markup tags 而不是纯 URL。

      {{store url='warranty'}}
      

      【讨论】:

        猜你喜欢
        • 2011-08-18
        • 1970-01-01
        • 1970-01-01
        • 2018-09-19
        • 1970-01-01
        • 2013-05-17
        • 1970-01-01
        • 2015-12-31
        • 2015-12-26
        相关资源
        最近更新 更多