Reader small image

You're reading from  Drupal 6 Search Engine Optimization

Product typeBook
Published inSep 2009
Reading LevelBeginner
PublisherPackt
ISBN-139781847198228
Edition1st Edition
Languages
Tools
Concepts
Right arrow
Author (1)
Ben Finklea
Ben Finklea
author image
Ben Finklea

Ben Finklea is the founder and CEO of Drupal SEO firm Volacci Search Marketing. He is the creator of the Drupal SEO Checklist module and he contributes to other SEO-related modules in the Drupal community. Ben is an internationally-known consultant, speaker, and trainer on topics related to SEO, Drupal, and building successful high-tech businesses. He lives with his wife and sons near Austin, Texas
Read more about Ben Finklea

Right arrow

Modules


A module is a community-created plugin that enhances Drupal's core functionality. From XML sitemaps to better page titles, modules are crucial to the search engine optimization of any Drupal site. Installing modules is easy and once you know how to install one, you probably know how to install them all.

Note

For a complete explanation of installing modules, check out the following links: http://drupal.org/node/120641 and http://drupal.org/node/120642.

Installing 99% of Drupal modules:

In the upcoming chapters, you'll come across a lot of Drupal modules. You need to carry out the following steps in order install 99% of Drupal modules:

  1. 1. Download the module from http://drupal.org/project/Modules and extract it.

  2. 2. FTP to your Drupal site. Drop the extracted module folder into the sites/all/modules folder (if that directory is not there then create it).

  3. 3. Using your browser, visit http://www.yourDrupalsite.com/user and log in.

  4. 4. Now visit http://www.yourDrupalsite.com/admin/build/modules/. If you forget this URL, just go to the admin page and click the Modules link.

  5. 5. Select the checkbox next to the module that you just installed. If needed, also tic any sub-modules that you just installed.

  6. 6. Click on the Save Configuration button. In a couple of seconds, the newly selected module will install itself. Any errors will appear in red.

  7. 7. Go to http://www.yourDrupalsite.com/admin/user/permissions and set the permissions for that module so that different roles can use or administer the new functionality that the module has added (not required for all modules).

  8. 8. Go to http://www.yourDrupalsite.com/admin and you'll see links to customize the settings of your newly installed module.

Installing the remaining 1% Drupal modules

If the module isn't working, be sure to read the README.txt file that came with the module. Sometimes, there are extra steps required to fully install a module.

Note

Drush: The alternative to manual Drupal module installation

If you're comfortable with using the Unix command line, you should consider Drush. Drush is a module created by Moshe Weitzman that provides a command line shell and Unix scripting interface for Drupal. After you install it, you'll be able to use commands like drush dl modulename and drush enable modulename to install and enable modules. No trips to drupal.org and no admin screens so it's very fast.

Essential SEO modules

Now that you know how to install modules, there are several that you'll need in order to optimize your Drupal site.

What follows is a list of the non-core Drupal modules you'll use most often for SEO. (Non-core means not included in the base Drupal installation. However, something might be included in Acquia Drupal so check your Modules admin screen first!) We'll cover almost all of these in more detail later in the book. You can either download them all and install them on your site or grab them one at a time as you work on each SEO task. Either way, don't enable them until you're clear what they do and how to configure them. Sometimes, careful setup is required to get the optimal benefit from a module.

Optional SEO modules

There are a few more SEO modules which are optional. Let's have a look at them.

Non-SEO modules

There are so many good, helpful modules; it's hard to mention them all. Here are a few non-SEO modules that I consider to be a must for any site I'm working on.

  • Administration Menu: It makes it quick and easy to get to all the admin functions of your web site.

  • Backup and Migrate: It simplifies the task of backing up and restoring your Drupal database or migrating data from one Drupal site to another.

  • Devel: It makes it easy to generate a bunch of nodes, taxonomies, and users for testing purposes. It has other helpful functions as well.

  • Notify: It sends periodic emails with details of all changes to a site.

    • Use if you want to review all posts, forums, or comments posted to your site. Great for responding to comments as they happen.

  • Search 404: Instead of a file not found error if a page is missing, it does a search on the keywords in the URL to show possible matches.

Note

PHP memory limits and module installation

If you install a lot of modules in Drupal then you may come across the dreaded "White Screen of Death". It often occurs when you visit the Administer | Modules page; you'll see nothing but a white screen. This means that PHP—the language that Drupal is written in has run out of memory. There are several ways to increase the allotted memory. The easiest is to add the line php_value memory_limit 32M to your .htaccess file in the Drupal root. You can adjust this to 48M, 64M or even higher, but 32M typically works fine and conserves memory. Don't just max it out as that's the amount of memory that Drupal will use for each visitor and it adds up quickly, especially on shared servers. There are other options if this doesn't work. To find out more, visit http://drupal.org/node/31819.

Previous PageNext Page
You have been reading a chapter from
Drupal 6 Search Engine Optimization
Published in: Sep 2009Publisher: PacktISBN-13: 9781847198228
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Ben Finklea

Ben Finklea is the founder and CEO of Drupal SEO firm Volacci Search Marketing. He is the creator of the Drupal SEO Checklist module and he contributes to other SEO-related modules in the Drupal community. Ben is an internationally-known consultant, speaker, and trainer on topics related to SEO, Drupal, and building successful high-tech businesses. He lives with his wife and sons near Austin, Texas
Read more about Ben Finklea