如何设置magento中的基础URL?

问题描述:

我已经创建了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找不到消息。 什么是问题,我将如何解决它?如何设置magento中的基础URL?

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

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

{{store url='warranty'}}