Is it possible to make a Category page the homepage in magento?


I would like to display a catergory page as my homepage rather than a CMS page as it seems to be difficult to get a CMS page to properly display items.

I have gone to

Url rewrite Management

and created a url-rewrite for a category

Then gone to

System|Configuration|Web|Default Pages|

and changed

Default Web URL

to my new url-rewrite from cms but I get a 404 error when I go to the root of my site. Is there a way to redirect the root to a category rather than a CMS page?

3/2/2010 2:29:29 PM

Accepted Answer

You can just add this to any CMS page (substitute the category ID that you want to display - you can find that in Admin->Catalog->Manage categories):

 {{block type="catalog/product_list" category_id="8" template="catalog/product/list.phtml"}}
3/4/2010 3:15:36 PM

Here is an easier way to do it. Find out first the ID of the category. Then you go to "System > Configuration > Web > Default Pages" and enter the following for the "Default web url" option: catalog/category/view/id/50 (where 50 is the id of the category).

Note, in version there is a bug in one of the core files. So if you use that see this fix first:

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow