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

Google Webmaster Tools


If you've got a site that shows up in Google then you need a Google Webmaster Tools account. The Google Webmaster Tools provide you with detailed reports about your pages' visibility on Google. It's one of the most direct ways that you can communicate with Google about your site. It allows you to upload an XML sitemap, see if there are any problems with your site and fix them. It even lets you control the Google spider so that it doesn't drag your site down with constant visits.

To use the tool, you need to verify your site. Fortunately, there is a great module called the Site verification module that helps you verify your site with the search engines. It was created and is maintained by Dave Reid. Thanks, Dave! You'll always be verified in my book!

Verify your site with Google

Carry out the following steps to verify your site with Google:

  1. 1. Go to http://www.google.com/webmasters/tools and sign in using your Google account.

  2. 2. Type the URL of your web site in the empty box, named Dashboard, and click on Add Site. Your site is now added and it needs to be verified.

  1. 3. Click on the Verify link, located next to your site name, as shown in the following screenshot:

  1. 4. Under the Choose verification method… option, select Upload an HTML file.

Note

You could also chose Add a meta tag and the Site verification module can handle that as well. Either way works equally well.

  1. 5. Copy the filename provided, as shown in the following screenshot:

  1. 6. Now, install the Site verification module. Refer to the earlier part of this chapter for the step-by-step module installation instructions.

  2. 7. Go to http://www.yourDrupalsite.com/admin/build/site-verify/add/google. You'll see a screen similar to the following screenshot:

  1. 8. In the Verification file field, paste in the filename that you got from Google and click on the Save button.

  2. 9. Test the URL. In your browser, open the following link: http://www.yourDrupalsite.com/<nameofspecialGooglefile.html>. You'll be able to see a screen similar to the following screenshot:

  1. 10. Go back to Google Webmaster Tools and click on the Verify button. In a few seconds, you should see the success message, as shown in the following screenshot:

Google Webmaster Tools settings

Now that your site is verified with Google, you can take advantage of all the great features that Google Webmaster Tools has to offer. Here are a few to which you should pay particular attention.

Preferred domain

Depending on how you set up your .htaccess file (refer to Chapter 7, robots.txt, .htaccess, and W3C Validation), you can access your Drupal site using a www or not. For example, http://www.yourDrupalsite.com/ or http://yourDrupalsite.com/ both will point to the front page of your site. This is not ideal because Google may treat those two URLs as two different pages and assume they contain totally different content. You'd actually be competing with yourself in Google and that's not a good thing.

Fortunately, you can fix this problem using the preferred domain setting. The preferred domain is the one that you would like used to index your site's pages and to have show up in Google. If you specify your preferred domain as http://www.yourDrupalsite.com and Google finds a link to your site that is formatted as http://yourDrupalsite.com, they'll treat that link as if it was http://www.yourDrupalsite.com. In addition, Google will take your preference into account when displaying URLs in the search results.

Set a preferred domain in Google Webmaster Tools

To set a preferred domain in Google Webmaster Tools carry out the following steps:

  1. 1. On the Webmaster Tools Dashboard, click the URL for your Drupal site.

  2. 2. Click on Settings, present on the left hand menu.

  3. 3. In the Preferred domain section, select the option of your choice, and then click on Save, as shown in the following screenshot:

Note

Does it matter, which one?

Note

No, not really. You can choose either www or non-www— there is no advantage between the two. However, you should pick one. If you don't specify Google may split the value of the incoming links to your site between the two options, which will lower your overall ranking.

Crawl rate

If you are on a slow server, you may want to consider asking Google to be a bit more considerate about how much data it grabs from your site at a time. This is called the crawl rate. It doesn't effect how often Google visits, just how many pages they ask for at a time. It can be very helpful if you're experiencing a server slowdown.

Setting the crawl rate in Google Webmaster Tools

Carry out the following steps in order to set the crawl rate in Google Webmaster Tools:

  1. 1. On the Webmaster Tools Dashboard, click the URL for your Drupal site.

  2. 2. Click Settings from the left hand menu.

  3. 3. In the Crawl rate section, select Set custom crawl rate.

  4. 4. Adjust the slider to change the crawl rate, as shown in the following screenshot:

  1. 5. Finally, click on Save.