Nov 19, 2013

Magento: How to override the home url.

The Goal here is, instead of modifying the CMS(in admin) for the home data. You can better create a custom module to handle this one. At this place you have control to the controller, block and template. Unlike when you use the CMS to update you home, you can only controller the block and template with the sample tag below
{{ block="module/block" template="module/block.phtml"}}
BTW, to do the use the custom module as your home goto System -> Configuration -> Web -> Default Pages -> Default Web URL






But if you want to, just to change the home page, you can try this System -> Configuration -> Web -> Default Pages
Change the value of

Default Web URL " cms
CMS Home Page :  Choose the available pages in the drop down

No comments: