如何在magento中设置基本URL?

时间:2011-11-02 06:43:11

标签: magento magento-1.5

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

2 个答案:

答案 0 :(得分:0)

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

答案 1 :(得分:0)

在CMS中使用markup tags而不是普通网址。

{{store url='warranty'}}