<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Scribble Designs &#187; Sitemaps</title>
	<atom:link href="http://www.scribbledesigns.co.uk/tag/sitemaps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scribbledesigns.co.uk</link>
	<description>Web Design in Northern Ireland.</description>
	<lastBuildDate>Fri, 18 Jun 2010 14:22:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing Drupal&#8217;s Google Sitemaps Module</title>
		<link>http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/</link>
		<comments>http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/#comments</comments>
		<pubDate>Tue, 17 Jul 2007 20:31:39 +0000</pubDate>
		<dc:creator>Gerard McGarry</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Sitemaps]]></category>

		<guid isPermaLink="false">http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/</guid>
		<description><![CDATA[Here's a short and sweet tutorial on how to install the Drupal XML Sitemap module. This module automates the creation of a sitemap - an inventory of the files on your site - and automatically submits it to the major search engines as well. An essential SEO step for users of the Drupal CMS.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working a lot with Drupal recently as a content management system for a variety of websites. I must admit, I love the flexibility of the system. However, one thing the default install is missing is the ability to automatically generate sitemaps for search engines to crawl.</p>
<p>Providing a sitemap to the search engines basically gives them an inventory of the pages in your site. It&#8217;s useful in helping them to find and index older and possibly orphaned content in your website that they wouldn&#8217;t otherwise be able to find.<span id="more-144"></span></p>
<h2>Basic XML Sitemap Setup</h2>
<ul>
<li>First, download the <a href="http://drupal.org/project/gsitemap" title="XML Google sitemap module for Drupal">Google Sitemap module</a> for Drupal. Upload the <em>gsitemap</em> folder to your Drupal installation into <em>sites/all/modules</em>. If the <em>modules</em> folder doesn&#8217;t exist, you may need to create it.</li>
<li>Once you&#8217;ve uploaded the module, go to <strong>Administer</strong> | <strong>Site Building</strong> | <strong>Modules</strong>, and activate the module labelled <strong>XML Sitemap</strong>.</li>
<li>Now, you&#8217;ll need to configure the module. Got to <strong>Administer</strong> | <strong>Site Configuration</strong> | <strong>XML Sitemap</strong> and set the options accordingly. By default, the &#8220;Submit To Google&#8221; option is selected, but you might also want to automatically submit to Yahoo! and Ask. In fact, I recommend it. You should also select to submit sitemap when the site is updated and when cron is run. Cron tasks in Drupal automatically perform regular maintenance on your Drupal installation. It&#8217;s recommended to set this up. (I may cover this in a later article)</li>
</ul>
<h2>Problems I Encountered During Sitemap Configuration</h2>
<p>After following those &#8216;default&#8217; steps to setup, I attempted to access my sitemap. No luck, it gave a parse error in FireFox. Upon further investigation, the file was empty. So the sitemap hadn&#8217;t been generated. If you encounter this problem, try these steps:</p>
<ul>
<li>Browse to  <strong>Administer</strong> | <strong>Site Configuration</strong> | <strong>File System</strong>.</li>
<li>In the <strong>Temporary Directory</strong> box, remove the forward-slash character from the start of <em>/tmp</em>. Save the new settings. You should see a notice that &#8220;The directory <em>tmp</em> has been created&#8221;</li>
<li>Try to access your sitemap file again (should be at http://yoursite.com/sitemap.xml). This time you should see the sitemap that has been generated.</li>
<li>Now that the sitemap has been created, you can force a cron run to ping Google, Yahoo! and Ask. Simply visit <strong>Administer</strong> | <strong>Logs | Status Reports</strong> and click the link that says &#8220;run cron manually&#8221;. Follow this up by viewing the <strong>Recent Log Entries Report</strong> where you should see a number of entries confirming submission to the various search engines.</li>
</ul>
<p>For bonus points, you could (and should) configure your robots.txt file for <a href="http://www.scribbledesigns.co.uk/2007/04/12/how-to-configure-sitemap-autodiscovery-for-your-website/">sitemap autodiscovery</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;title=Installing+Drupal%27s+Google+Sitemaps+Module" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;title=Installing+Drupal%27s+Google+Sitemaps+Module" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;title=Installing+Drupal%27s+Google+Sitemaps+Module" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;title=Installing+Drupal%27s+Google+Sitemaps+Module" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/&amp;title=Installing+Drupal%27s+Google+Sitemaps+Module" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=RT+%40gerrybot+Installing+Drupal%27s+Google+Sitemaps+Module+-+&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.scribbledesigns.co.uk/2007/07/17/installing-drupals-google-sitemaps-module/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
