XML sitemapsIn the early 2000s, Google started supporting XML sitemaps. Soon after Yahoo came out with their own standard and other search engines started to follow suit. Fortunately, in 2006, Google, Yahoo, Microsoft, and a handful of smaller players all got together and decided to support the same sitemap specification. That made it much easier for site owners to make sure every page of their web site is crawled and added to the search engine index. They published their specification at http://sitemaps.org. Shortly thereafter, the Drupal community stepped up and created a module called (surprise!) the XML sitemap module. This module automatically generates an XML sitemap containing every node and taxonomy on your Drupal site. Actually, it was written by Matthew Loar as part of the Google Summer of Code. The Drupal 6 version of the module was developed by Kiam LaLuno. Finally, in mid-2009, Dave Reid began working on a version 2.0 of the module to address performance, scalability, and reliability issues. Thanks, guys! According to www.sitemaps.org:Sitemaps are an easy way for Webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL (when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site) so that search engines can more intelligently crawl the site. Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using a sitemap does not guarantee that every page will be included in the search engines. Rather, it helps the search engine crawlers find more of your pages. In my experience, submitting an XML Sitemap to Google will greatly increase the number of pages when you do a site: search. The keyword site: searches show you how many pages of your site are included in the search engine index, as shown in the following screenshot:
Setting up the XML Sitemap module The XML Sitemap module creates a sitemap that conforms to the sitemap.org specification. Which XML Sitemap module should you use?There are two versions of the XML Sitemap module for Drupal 6. The 1.x version is, as of this writing, considered the stable release and should be used for production sites. However, if you have a site with more than about 2000 nodes, you should probably consider using the 2.x version. From www.drupal.org: " The 6.x-2.x branch is a complete refactoring with considerations for performance, scalability, and reliability. Once the 6.x-2.x branch is tested and upgradeable, the 6.x-1.x branch will no longer be supported". What this means is that in the next few months (quite possibly by the time you're reading this) everyone should be using the 2.x version of this module. That's the beauty of open source software there are always improvements coming that make your Drupal site better Search Engine Optimized. The rest of this article refers to XML Sitemap module version 2.x Beta. Carry out the following steps to set up the XML Sitemap module: 1. Download the XML Sitemap module from the following link, http://drupal.org/project/xmlsitemap and install it just like a normal Drupal module. When you go to turn on the module, you'll be presented with a list that looks similar to the following screenshot:
Before you turn on any included modules, consider what pieces of content on your site you want to show up in the search engines and only turn on the modules you need.
2. Go to http://www.yourDrupalsite.com/admin/settings/xmlsitemap or go to your admin screen and click on Administer | Site Configuration | XML sitemap link. You'll be able to see the XML sitemap, as shown in the following screenshot:
3. Click on Settings and you'll see a few options, as shown in the following screenshot:
4. Click the Advanced settings drop-down and you'll see several additional options.
5. Click on the Front page drop-down and set these options:
What is priority and how does it work?Priority is an often-misunderstood part of a sitemap. For instance, the priority is only used to compare pages of your own site and you cannot increase your ranking in the Search Engine Results Page (SERPS) by increasing the priority of your pages. However, it does help let the search engines know which pages of your site you feel are more important. They could use this information to select between two different pages on your site when deciding which page to show to a search engine user. 6. Open the Content types drop-down and you will see the following screenshot:
7. Click Save configuration. 8. Now, you need to run cron. Cron is a recurring script that takes care of many maintenance issues in Drupal including populating the XML sitemap. To run cron, point your browser to http://www.yourDrupalsite.com/cron.php and wait until the page stops loading. You will not receive any indication that it's complete except that your browser will stop loading the page. 9. Point your browser to http://www.yourDrupalsite.com/sitemap.xml. If you see a bunch of gobbledygook that looks like the following screenshot:
10. If yes, then you've done it right! The XML Sitemap will only update when cron runs. On a normal Drupal installation, you should have set cron to run periodically nightly for most sites or more often for high-traffic sites. Legal DisclaimerWebworldarticles.com is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. Webworldarticles.com is a free information resource. If you suspect this article for any copyright infringement, please read the terms of service and contact us to investigate the problem. Related Articles1. Robots txt file for Drupal examples and editing Optimizing the robots.txt file The robots.txt file is a file that sits at the root level of your web site and asks spiders and bots to behav... 2. Lead generation paths to conversion long way Conversions mean different things to different web sites. visitors to do. Are there other people in your organization who have a stake in th... 3. Ecommerce web sites and critical lead indicators Analytics to watch The mantra of a great web site team should be 'measure everything'. Understanding what and why you're tracking certain th... 4. Lead generation metrics that are critical for your website Critical lead generation metrics Lead generation sites are focused on getting people to contact them. Examples include real estate agents, a... 5. Using analytics metrics to make SEO decisions Secondary metrics worth tracking Analytics data is great at showing trends in your site's visitors. These trends may be useful for making ce... 6. Roles in the construction of digital advertising Other roles that have emerged with the growth of digital advertising are more related to the production of online campaigns. Digital technical... 7. Website traffic analyzer Web traffic is traffic which is getting generated on the internet or on your Local Area Network (or LAN) Several web hosting companies provide a... 8. Monitoring via the Cloud: Monitis versus Open Source Monitoring Software If your company is using a complex IT infrastructure and you are responsible for delivering mission critical applications, and every time the system is ... 9. The First monitoring company to fully integrate systems There is a problem out there in IT-Land that is seldom spoken of, but just might be an IT manager's greatest nemesis: wasted time. ... All articles in this directory are property of their respective authors. Additionally, read our Privacy Policy © 2010 WebWorldarticles.com - All Rights Reserved. Online: 37 users browsing the articles directory
|