Menu Content

Shopping Cart

cart
Your Cart is currently empty.

Currencies Accepted


Newsletter

Subscribe to our newsletter


Name:

Email:

Like it? Share it!

Find Us Elsewhere



Follow us on Twitter

Home Joomla Tips Creating a Google Sitemap for your Joomla! Site

Creating a Google Sitemap for your Joomla! Site PDF Print E-mail

 What is a Google sitemap? A Google sitemap is an xml file containing a list of the URLs on your site.

 

The easiest way to create one is to use an online sitemap generator. If you try Googling the search term 'online sitemap generator' you will get a substantial list of sites offering this service for free.

 

However I have found that there are some issues involved in generating a sitemap for a Joomla site using this kind of service. Joomla sites often have a complex menu structure, with important content pages located several clicks away from the home page. Many popular sitemap generators seem to have problems adequately crawling a Joomla site. For example, I found that one popular and widely advertised sitemap generator only managed to index seven pages from this site!

 

One sitemap generator that I can recommend for Joomla sites is http://www.sitemaps-builder.com/ .

It can be slow, but I have found that it does do a good job of indexing pages located several levels within the menu structure.

 

If you want a sitemap for your Joomla site, the important thing is to try several, and then to check that they are actually indexing your pages correctly. You can do this quite easily by opening up the generated sitemap.xml file in a text editor.

 

A Google sitemap takes the general form:-

 

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
	<loc>http://www.mysite.com/</loc>
	<priority>0.5</priority>
	<lastmod>2009-07-30T08:19:27+00:00</lastmod>
	<changefreq>monthly</changefreq>
</url>
<url>
	<loc>http://www.mysite.com/example-page.html</loc>
	<priority>0.5</priority>
	<lastmod>2009-07-30T08:19:37+00:00</lastmod>
	<changefreq>monthly</changefreq>
</url>
<url>
	<loc>http://www.mysite.com/example-page-2.html</loc>
	<priority>0.5</priority>
	<lastmod>2009-07-30T08:19:37+00:00</lastmod>
	<changefreq>monthly</changefreq>
</url>

.
.
.
</urlset>

 

 

The page addresses are contained within the <loc> tags, a quick check through them will show whether your pages are being properly indexed.

 

It is important to remember though that a sitemap is merely advisory, and is not normally essential. A few years ago it was the case that Google often only looked at a few pages on a site, and including a sitemap could make a substantial difference to your Google ranking, by making it easier to crawl. These days the Google robot does a very good job of crawling even very complex sites, and can index most URLs, even those containing complex query strings, so it is doubtful whether a sitemap makes a large difference. However even making a small difference with your Google ranking is worthwhile, so it is worth doing if you can.

 

Once you have generated a satisfactory sitemap, you need to upload it to your site, to the www root folder of your site. The you need to notify Google. To do so, type the following into the address bar of you web browser.

 

http://www.google.com/webmasters/tools/ping?sitemap=http://www.yoursite.com/sitemap.xml

 

replacing yoursite.com with the URL of your site. You should receive a notification message saying that the notification has been received.






Spiral Scripts
Written on Monday, 10 August 2009 12:33 by Spiral Scripts

Viewed 1538 times so far.
Like this? Tweet it to your followers!

Latest articles from Spiral Scripts

  • Browser Detection in Joomla posted on Monday, 08 March 2010 11:19

    It is often the case that as web developers we need to add some extra…

  • Browser Detection in Joomla posted on Monday, 08 March 2010 11:19

    It is often the case that as web developers we need to add some extra…

  • A Stormy Sea posted on Friday, 05 March 2010 19:43

    A stormy sea at Spittal in Northumberland. The dark storm clouds with occasional patches of…

  • The Sea at Spittal posted on Friday, 05 March 2010 19:38

    A view of the sea at Spittal in Northumberland. I like the contrast between the…

  • On the Sea Front posted on Friday, 05 March 2010 19:21

    A view of the sea-front at Spitall in Northumberland. It was a bright but very…

Latest 'tweets' from Spiral Scripts

blog comments powered by Disqus

 
 
 

VirtueMart Featured Products Grid

Switch View

A module extension for the the Joomla 1.5 CMS. It displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00


A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.

£10.00


A featured items module that shows selected entries from the SOBI2 business index.

£12.00


A module extension for the the Joomla 1.5 CMS. It plays a random list of mp3s using the Flash media player.

£12.00



 
 

fitness