Home > Magento Tips > Generating Your Magento XML Sitemap

Generating Your Magento XML Sitemap

Posted on: 16th Jul 2010 By: Robert Kent 2 Comments

This post will form a part of a triangle of posts that I have written in order to explain the processes by which you can provide Google with an up to date dynamic sitemap that is optimised for your magento website.

This post will be about generating your Google Sitemap from the Magento admin section, Making sure that the XML file is in place on the root of your server, and double checking the contents of that sitemap.

The other two posts in this series which you should read are:

  1. Setting up a Cron Job in Plesk
  2. Index Your Magento Pages

Once you have read those two posts and this one – you should have a good understanding and grasp of how beneficial automatic xml sitemap generation is for a Magento website.

Creating your XML Sitemap

To create your XML sitemap then, first of all go to catalog>google sitemap. Click on Add Sitemap at the top. You should see something like the following:

You should enter sitemap.xml as your filename and also / as the path for the file to be generated. This will write the file to the root of your magento website. Click save & generate.

If you recieve an error what I suggest is checking that no existing sitemap.xml is currently present. When you generate your sitemap you can now schedule its automatic creation. To do this go to system>configuation>google sitemap.

Set the options for priority as per the Index Your Magento Pages post and for the generation settings set it up so that Obviously set the time however you want it – NOTE that the sitemap will probably not be generated at exactly 9:10am. It will be generated the next time a Cron Job is ran after that time has elapsed.

To set up your cron job using pleask please see my previous post Setting up a Cron Job in Plesk.

Thank you for visiting e-commerce web design and thanks for visiting our magento blog, proud home of the magento fox!

2 Responses to “ Generating Your Magento XML Sitemap ”

  1. Nellie
    #1 | 21st July 2010

    Any idea how to get the sitemap to sort by Name and not by Position with the Products Sitemap?

  2. coventry web design
    #2 | 5th August 2010

    I’m also looking for the same answer!

Post A Comment

Your comments:
Enclose code snippets within the appropriate tags: [php][/php]   [js][/js]   [xml][/xml]   [css][/css]   [html][/html]
E.g: [php]<?php echo "hello world"; ?>[/php]

Search Blog

Archives

For the record...

Views & opinions in this blog are those of the individual and do not necessarily reflect those of E-commerce Web Design or the Creare Group.