Simple robots.txt file

April 20, 2007 · Print This Article

New webmasters tends to ask very important questions that experienced webmasters tends to forget how difficult such matters can be for new webmasters. A young webmaster recently found creating robots.txt file a challenging task, so a simple rough and ready robots.txt file was created for the young webmasters, here is a what a robots.txt file should contain for the benefits of those who may need some info on robots.txt

# robots.txt for www.SiteName
User-agent: *
Disallow:

The robots.txt above allows all robots to index all parts of your site, here is what you need to do if you want robots to leave some parts of your site alone. On the third like which says “Disallow:”  just add the folder you wish robots to leave a alone, lets say you cgi-bin folder, just add this:
/cgi-bin/

so the new robots.txt that allows robots to every part of your website except the cgi-bin folder would look like this:

# robots.txt for www.SiteName
User-agent: *
Disallow: /cgi-bin/


This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  Test Bio for Temi Read more from this author


delicious | digg | reddit | facebook | technorati | stumbleupon | savetheurl
  • Share/Bookmark

Related posts:

  1. How to view .htaccess file and other hidden files on Windows PC
  2. Simple tweeks to make cPanel more secure
  3. Hide your robot.txt from prying eyes
  4. Dealing with unlawful file sharing UK and EU approach
  5. Google Yahoo Proxy Exploit – Protect your site agaist it

Comments

One Response to “Simple robots.txt file”

  1. Robot.txt file - Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW on May 9th, 2009 8:22 am

    [...] did a blogpost about robots.txt files here. You can also generate it automatically this days with help from Google via your Google webmaster [...]

Got something to say?





2009 © Temi Webmaster Blog All Right Reserved.