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 2156 times so far.
Like this? Tweet it to your followers!

Latest articles from Spiral Scripts

Latest 'tweets' from Spiral Scripts

blog comments powered by Disqus

 
 
 

VirtueMart Featured Products Grid

Switch View

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 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.

£10.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
A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children.

£10.00



Joomla Tips

Using Template Overriding With Joomla

It often happens when you are using a Joomla component or module that you would like to modify the display of the extension in some way. If the extension uses the MVC (model-view-controller) layout then there is a straightforward way to do this - use template overriding. Read more..

How to Show Different Menus on Different Pages Using Joomla

It is not particularly difficult to do this, it is the kind of thing that Joomla was designed to do. You need to create your menus first in the menu manager. Read more..

Browser Detection in Joomla

It is often the case that as web developers we need to add some extra coding that will deal with the quirks of particular web browsers . Using Joomla we can take advantage of Joomla's built in browser detection. Read more..

Understanding CSS Selectors When Editing Joomla Templates

When editing a Joomla! template one of the biggest challenges can be finding the css style rules that apply to a particular element. Read more..

Social Networking Extensions for Joomla

A system of user profiles that allows for the display of user information, activities and interaction is a common requirement for many websites and there is a variety of software available, of varying quality. The purpose of this article is to provide a guide to some of the options available. Read more..


 
 

fitness