rss
twitter
    Find out what I'm doing, Follow Me :)

Tuesday, December 29, 2009

Pin It

Widgets

How to add Sitemap to a Magento Site

Most of you must be knowing the importance and use of Sitemaps on your websites, but let me make it clear for those who dont know, how a sitemap helps for the rapid boost of your website. Well, Sitemaps are tree like structure blocks, which can fetch all of your pages and list on one page, for the Search Engines to crawl and index it.

So, in short, it helps mostly for Search Engine Optimization.

If you running an Online Store in Magento, then you may have some problems in getting the Sitemap on a page on your frontend. So, here are some simple steps to get this done.

1. Goto System> Configuration> Catalog> Google Sitemap. Enable all the options in there and make sure, its all correct.

2. Then goto System> Configuration> Catalog> Catalog> Sitemap and enable the Sitemap Creation option.

Now, if you want to add the Sitemap on your header Main Navigation Menu bar, then open this,And there you will find all of your main nav menus listed. Just add a new item to it and link it this way,

<a href="{{store url='catalog/seo_sitemap/category/'}}"> Category Sitemap</a>

or

<a href="{{store url='catalog/seo_sitemap/product/'}}"> Product Sitemap</a>

I have given two links, as Magento dont have an option to show Product and Category Sitemap both on one single page. So, what you need, just get that active.

And if you want to put the Sitemap link on footer, then just add this above code to your CMS > STATIC BLOCKS> FOOTER LINKS.

Source : http://www.learnmagento.org/

No comments:

Post a Comment