Creating an XML Sitemap in elcomCMS

How To Create an XML Sitemap in elcomCMS

One of the best ways to guide Google in what it should crawl on your site, is to provide a listing of URLs that you deem important.

The standard way of doing this is to build an XML Sitemap and submit it to Google through your Google Search Console (previously known as Google Webmaster Tools) account.

elcomCMS has a very nice tool for creating XML sitemaps, and in this post I’m going to quickly walk you through a few tips for setting it up.

The XML sitemap tools is found under the Admin menu -> Google sitemap:

elcomCMS XML Sitemap settings

Initially nothing will be selected.

If not already chosen, choose the ‘Include the following folders‘ option in Step 1.

Make sure none of the ‘Site Layout’ folders are selected. These folders are usually part of the site setup and include general admin and theme stuff – and ideally we don’t want Google indexing those:

elcomCMS XML Sitemap - ignore the Site Layout folders

Scroll down through the list of available folders and include all the good stuff eg Product pages, Services, Solutions, Contact us, Training, Events, blogs, etc.

elcomCMS XML Sitemap - Include the important folders

I generally only tick the top-level folders, and then tick the ‘Include sub folders‘ checkbox underneath the list of folders.

I do this for two reasons:

  1. It’s easier
  2. It means that any new articles that get added to a folder will automatically be added to the sitemap once they are published

Next it’s time to actually create the XML sitemap. If yours is a new site or has never had the sitemap generated, it will look as follows:

elcomCMS XML Sitemap creation

Simply click the Generate XML button and your sitemap will be created:

elcomCMS XML Sitemap prepared

We’ll submit to Google in a minute (Step 3/4), but before we look at that, let’s jump to the end of the settings in elcomCMS and make sure the XML sitemap has been configured to automatically update.

Here’s what it looks like by default:

elcomCMS XML Sitemap auto generation

Tick the ‘Allow elcomCMS to generate the Google Sitemap file automatically‘ and set it to generate regularly (eg 2 days is quite reasonable):

elcomCMS XML Sitemap - autogenerate setting

OK, now on to submitting to Google.

If you don’t already have a Google Search Console account (previously called Google Webmaster Tools), then you’ll need to set that up.

Once you’ve created and verified the account, it’s time to Submit the XML sitemap:

Google Webmater Tools - submit the XML Sitemap

Add the sitemap URL (usually: Sitemap/CMSitemap_1.xml) and submit:

Google Webmater Tools - submit the XML Sitemap

Google will read the XML file and start it’s analysis.

Initially the sitemap will be marked as pending. It takes a few days at most for Google to analyse and index the pages.

Google Webmater Tools - submit the XML Sitemap

Check back in a few days to ensure there’s no issues with you sitemap, and to note any messages from Google

Craig Bailey

Craig is the Founder and Technical Director at XEN Systems. He’s been involved in IT, web development and digital marketing for more than 25 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.