Book Image

Drupal 6 Search Engine Optimization

By : Ben Finklea
Book Image

Drupal 6 Search Engine Optimization

By: Ben Finklea

Overview of this book

The earlier a site appears in the search results list, the more visitors it will receive from the search engine. Despite several advantages, many Drupal sites suffer with poor search engine standings. Perhaps you are aware of the importance of SEO for increasing traffic to your site, but do you know how to apply it to your Drupal site? Here comes the first book about search engine optimization for Drupal sites. This practical, step-by-step guide takes the mystery out of Drupal search engine optimization (SEO) by showing you the tricks of today's top marketing pros to achieve top ranking in the search engines. This isn't a book of Drupal SEO theory ñ it's a practical guide showing you which modules to install, which settings to use, and dozens of the most closely guarded "tricks of the trade" to get your web site optimized, higher in the search engines, and more profitable. With this book and basic Drupal 6 knowledge ñ how to log in, create content, and install modules ñ you can build a perfectly search engine optimized web site. Each chapter uses easy, step-by-step instructions to walk you through the Drupal SEO modules, configurations, and content you will need to increase traffic on your web site. You start by reviewing the modules and tools that you should use to optimize your site, how to set up your analytics, and so on. Each subsequent chapter gives detailed instructions on implementing these features in Drupal. Later chapters cover topics like site organization, A/B testing, and automatic content tagging to maximize SEO and increase the conversion rate of your web site. When you have completed the book, you will have implemented the changes to your site required to rank well in the search engines. If you want to maximize the return on investment of your Drupal 6 web site and gain a significant advantage over competitors who are not using Drupal, then this book is for you. Imagine how great you'll feel when your site is optimized to increase the number of visitors and convert them into paying customers.
Table of Contents (19 chapters)
Drupal 6 Search Engine Optimization
Credits
About the Author
Acknowledgement
About the Reviewers
Preface
Drupal SEO Case Study for Acquia Product Launch

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.