Adding HOME menu in main navigation in magento

Do you ever wonder how to add a home menu at the top navigation bar in magento? Yes, it is pretty easy if you know a bit about how to edit a phtml file and little about magento administration.

Here are some simple steps -

  1. Disable the System Cache (Log in at your Magento Admin Panel, Go to System -> Cache Management. Click on the Select All link to select all rows, Select Disable from the Actions dropdown, Click on the Submit button to save the changes.
  2. Edit top.phtml file in app/design/frontend/PACKAGE/THEME/template/catalog/navigation/ directory.
  3. Add the following code snippet just before <?php echo $_menu ?> code

<li class="home"><a href="<?php echo $this->getUrl('')?>"><?php echo $this->__('Home') ?></a></li>