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

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 behave themselves when they're on your site. You can take a look at it by pointing your browser to http://www.yourDrupalsite.com/robots.txt. Think of it like an electronic No Trespassing sign that can easily tell the search engines not to crawl a certain directory or page of your site. Using wildcards, you can even tell the engines not to crawl certain file types like .jpg or .pdf. This means none of your JPEG images or PDF files will show up in the search engines. (I'm not recommending that you do that…but you could.)

Note

The robots.txt file is required by Google

On December 1, 2008, John Mueller, a Google analyst, said that if the Googlebot can't access the robots.txt file (say the server is unreachable or returns a 5xx error result code) then it won't crawl the web site at all. In other words, the robots.txt file must be there if you want the web site...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Drupal 6 Search Engine Optimization
Published in: Sep 2009Publisher: PacktISBN-13: 9781847198228

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