为Magento设置一个cms页面 [英] Set up a cms page for Magento
问题描述
我一直在试图在magento中设置一个CMS页面作为主页,它只是杀了我 - 这应该有多难?无论我设置了什么,我得到了一个404。
I've been trying to set up a CMS page in magento to be the home page, and it's just killing me - how hard should this be? no matter what I set up, I get a 404.
有人告诉我一些基本步骤来设置CMS页面作为Magento安装的主页,住在:
Can somebody tell me basic steps to set up a CMS page as the home page for a Magento install, living at:
http://www.mymagentoinstall.com/
我无法使CMS页面的URL为空,而是在System-> Config-> Default Pages-> CMS中设置默认页面
I can't have the url key for the CMS page be empty, but setting the default page in the System->Config->Default Pages->CMS Home Page (which seems like it should work), still gives me a 404.
thx任何帮助
推荐答案
确定 - 搞定了。在System-> Config-> Web中,默认Web URL需要是'cms'(没有引号) - 我想告诉Magento使用cms页面而不是默认的URL。
Ok - figured it out. In the System->Config->Web, the Default Web URL needs to be 'cms' (no quotes) - I guess that tells Magento to use the cms page instead of a default url.
这篇关于为Magento设置一个cms页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!