How do I test my robots.txt file?

Posted By Mardian Purwanto

You can use the Google robots.txt analysis tool in google webmaster tools to:

  • Check specific URLs to see if your robots.txt file allows or blocks them.
  • See if Googlebot had trouble parsing any lines in your robots.txt file.
  • Test changes to your robots.txt file.

If you don’t currently use a robots.txt file, you can create one and then test it with the tool before you upload it to your site.

the robots.txt analysis tool displays the text of your cached robots.txt file. You can enter a list of URLs and check to make sure that file restricts or allows access as you expect. You can also modify the displayed robots.txt file and then enter a list of URLs to check so that you can see how changes to your robots.txt file would change Googlebot’s access to specific pages.

Once you are happy with your revised robots.txt file, make the changes on the version on your site. Note that it may take up to a day for the Googlebot to retrieve the latest version. You can always check when we last downloaded your robots.txt file at the top of the robots.txt analysis page.

What are URLs restricted by robots.txt errors?
Google was unable to crawl the URL due to a robots.txt restriction. This can happen for a number of reasons. For instance, your robots.txt file might prohibit the Googlebot entirely; it might prohibit access to the directory in which this URL is located; or it might prohibit access to the URL specifically. Often, this is not an error. You may have specifically set up a robots.txt file to prevent us from crawling this URL. If that is the case, there’s no need to fix this; we will continue to respect robots.txt for this file.

What are URLs restricted by robots.txt errors?

Google was unable to crawl the URL due to a robots.txt restriction. This can happen for a number of reasons. For instance, your robots.txt file might prohibit the Googlebot entirely; it might prohibit access to the directory in which this URL is located; or it might prohibit access to the URL specifically. Often, this is not an error. You may have specifically set up a robots.txt file to prevent us from crawling this URL. If that is the case, there’s no need to fix this; we will continue to respect robots.txt for this file.

What do the robots.txt file analysis results mean?

When you test a URL against a robots.txt file, you will see one of the following results:

  • Allowed— Googlebot will crawl the URL.
  • Blocked— Googlebot will not crawl the URL.
  • Not in domain— This URL is not on the same domain as the robots.txt file and therefore, you cannot block it.
  • Syntax not understood— Googlebot does not recognize this as a valid URL.

Additionally you may see the following message:

  • Detected as a directory; specific files may have different restrictions— Although this directory is blocked or allowed, there may be other, more specific rules in the file that block or allow URLs in the directory, so you will want to check those as well.

If Googlebot has difficulty understanding parts of your robots.txt file, you will see one of the following parsing results, which you will want to fix:

  • Accepted, but should be Disallow— You misspelled “Disallow.”
  • Accepted, but should be user-agent— You misspelled “user-agent.”
  • Accepted, but correct syntax includes a colon (Rule: path)— You forgot to put a colon between “Allow” or “Disallow” and the path.
  • Rule ignored by Googlebot— This is not a rule that Googlebot follows (for example, “Crawl-delay”).
  • No user-agent specified— You have rules that aren’t associated with a user-agent.
  • Syntax not understood— Googlebot does not understand this line.
  • robots.txt file does not appear to be valid— Googlebot doesn’t understand any parts of this file and therefore, doesn’t recognize it as a valid a robots.txt file.
Nov 17th, 2007

No Comments! Be The First!

Leave a Reply

You must be logged in to post a comment.

  • Buy Cheap new arthritis drug Online We Can Offer You Visit Our Online Pharmacy.
  • Buy Cheap sublingual sildenafil Online Internet Prices For sublingual sildenafil! Low Prices.
  • Buying Cheap levitra use instructions. Mexican Pharmacy, Best Prices. Best Drugstore.
  • Buy Cheap taking 2 20 mg cialis Online Best Online. Discount Pharmacy Online.
  • Buy Cheap muscle relaxer pain pill Now Online Prices For muscle relaxer pain pill! Free Viagra Pills!
  • Buy Cheap antidepressant prescription Now Top Online Pharmacy. Cheap Online Pharmacy.
  • Buy Cheapest price for generic viagra Now Best Drugstore. Cheap Online Pharmacy.
  • Buy Cheap valium by Online Online Prices For valium by! Best Prices.
  • Buying Cheap information on weight loss supplement. Mexican Pharmacy, Best Prices. Best Drugstore.
  • Buy Cheap prescription weight loss medication Online Best Drugstore. No Prescription Needed.
  • Buy Cheapest kills appetite Online Discount Online Pharmacy. Best Online.
  • Buy Cheap total health discount vitamins and herbs Now Discount Pharmacy Online. Top Online Pharmacy.
  • Buy Cheap cialis coupons Now Online Medical Shop. Top Online Pharmacy.
  • Buy Cheap internet discount pharmacies Online Best Internet. Discount Online Pharmacy.
  • Buy Cheap doxycycline dosage Now Drugs, Health And Beauty. Guaranteed Shipping.
  • Buy Cheapest no prescription drugstore Online Best Online. Drugs, Health And Beauty.
  • Buy Cheap xanax cost Online Cheap Online Pharmacy. Best Drugstore.
  • Buy Cheap new erectile drug cialis Online Discount Pharmacy Online. Best Drugstore.
  • Buy Cheap online ultram Online Pharmacy At The Best Price! Best Drugstore.
  • Buy Cheap prescription weight loss supplements Online Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheap xanax pregnancy Now Order Cheap Meds Without Rx. Best Internet.
  • Buy Cheapest side effects of lorazepam Now No Prescription Needed. Pharmacy Store.
  • Buy viagra sex Without Prescription Doctor. Pharmacy Store. Low Prices.
  • Buy Cheap phentermine buy on line overnight Online Pharmacy Store. Online Medical Shop.
  • Buy Cheap no rx alprazolam Now Discount Online Pharmacy. Best Internet.
  • Buy Cheap sildenafil citrate viagra Online Best Online. Special Prices For sildenafil citrate viagra!
  • Buy Cheapest buy diet pills no prescription Now Best Online. The Largest Internet Pharmacy.
  • Buy Cheap cialis free coupon Online Best Prices. Top Online Pharmacy Supplier.
  • Buy Cheap pfizer viagra discount Online Online Prices For pfizer viagra discount! Best Online.
  • Buy Cheap viagra replacement Now Best Drugstore. Order Cheap Meds Without Rx.
  • Buy Cheapest levitra quit working Now Best Internet. Special Prices For levitra quit working!
  • Buy Cheapest cialis 30 oral Online Best Online. Top Online Pharmacy.
  • Buy Cheap ambien dosing Now The Largest Internet Pharmacy. Pharmacy Store.
  • Buy Cheap viagra substitute Now Top Online Pharmacy. Drugs, Health And Beauty.
  • Buy Cheapest viagra online in canada Now Buy Medications Online. Best Internet.
  • Buy Cheap natural vitamin store Online Pharmacy Store. Buy Medications Online.
  • Buy Cheap propecia cost Now Low Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap zoloft vs paxil Now Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheapest prescription only diet pills Online Best Internet. WorldWide Shipping.
  • Buy Cheapest cheap levitra online Online Cheap Online Pharmacy. Low Prices.
  • Buy Cheapest chronic pain consultations prescriptions online Online Buy Medications Online. Low Prices.
  • Buy Cheap non narcotic pain meds Online Cheap Prescription Drugs. Best Online.
  • Buy Cheapest lexapro antidepressant Online Pharmacy At The Best Price! Low Prices.
  • Buy Cheap pill prescriptions Now Discount Pharmacy Online. Top Online Pharmacy.
  • Buy Cheapest azithromycin tablets Online Best Drugstore. No Prescription Needed.
  • Buy Cheapest antidepressant pill high Online Best Drugstore. Cheap Online Pharmacy.
  • Buy Cheap remedy for toothache pain Online Best Online. Special Prices For remedy for toothache pain!
  • aspirin codeine Online Without Prescription Low Prices. Top Online Pharmacy.
  • Buy Cheap propecia india Now Best Drugstore. Order Cheap Meds Without Rx.
  • Buy generic viagra blue pill Online Without Prescription. Best Prices. Best Internet.
  • Buy Cheapest herbal diet pills Now Pharmacy At The Best Price! Best Prices.
  • Buy Cheap valium no prescription Now Best Online. 24/Internet)(safe Pharmacy.
  • Buy Cheap tramadol depression Now Guaranteed Shipping. Buy Medications Online.
  • Buy Cheap herbs for weight loss Online Best Prices. The Largest Internet Pharmacy.
  • Buy Cheap discount pharmacies australia Now 24/Online Pharmacy. Guaranteed Shipping.
  • Buy Cheap ultram 50 mg Online Discount Pharmacy Online. Best Internet.
  • Buy Cheapest cialis 30mg Online Top Online Pharmacy. Best Online.
  • Buy suppliers of viagra in uk Online Without Prescription. Low Prices. Best Internet.
  • Buy Cheapest viagra uk Now 24/Internet)(safe Pharmacy. Low Prices.
  • Buy Cheapest newest weight loss pill Now Low Prices. 24/Internet)(safe Pharmacy.
  • Buy Cheapest cialis dosage 20mg Online WorldWide Shipping. Best Internet.
  • Buy Cheapest order acomplia Online Best Online. Top Online Pharmacy.
  • Buy Cheap levitra sperm pills Now The Largest Internet Pharmacy. Best Online.
  • Buy Cheap nitroglycerin tablets Online Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheap sleep aid medicine Now Buy Medications Online. Free Viagra Pills!
  • Buy Cheapest mail order viagra uk Now Online Medical Shop. Top Online Pharmacy.
  • Buy Cheap phentermine with no perscription Now Discount Online Pharmacy. Online Medical Shop.
  • augmentin generic Online Without Prescription Best Prices. WorldWide Shipping.
  • Buy Cheapest viagra for cheap Now 100% Satisfaction Guaranteed. Low Prices.
  • Buy Cheapest how to get pain meds Now Best Prices. Top Online Pharmacy Supplier.
  • Buy Cheapest phentermine free online consultation Now Best Prices. Special Prices For phentermine free online consultation!
  • Buy Cheapest fastest way to burn fat Now Internet Prices For fastest way to burn fat! Pharmacy Store.
  • Buy Cheap order vermox tablets Online No Prescription Needed. Best Online.
  • Buy Cheapest drug muscle relaxants Now Order Cheap Meds Without Rx. Low Prices.
  • Buy Cheapest pinworms treatment Online Best Internet. Drugs, Health And Beauty.
  • Buy Cheap levitra presciptions Online Cheap Prescription Drugs. Best Internet.
  • Buy Cheap generic sample viagra Now Guaranteed Shipping. Buy Medications Online.
  • Buy Cheapest online mexican pharmacies Now Best Prices. 100% Satisfaction Guaranteed.
  • Buy Cheap cures for chlamydia Now Special Prices For cures for chlamydia! Best Internet.
  • Buy Cheap internet pharmacies no prescription Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheap brand viagra Online Pharmacy Store. Top Online Pharmacy.
  • Buy Cheapest trazodone for anxiety Now Special Prices For trazodone for anxiety! Best Drugstore.
  • Buy Cheap viagra for under $2 Online Top Online Pharmacy. Online Medical Shop.
  • price of cialis Online Without Prescription WorldWide Shipping. Best Prices.
  • Buy Cheapest generic name ambien Now Free Viagra Pills! No Prescription Needed.
  • Buy Cheap online vitamin stores Online Best Internet. Cheap Prescription Drugs.
  • Buy Cheapest viagra womens Online Pharmacy Store. Cheap Pharmacy Online.
  • Buy Cheap buy hair loss treatment Now Pharmacy At The Best Price! Best Online.
  • Buy Cheapest xanax warnings Now Cheap Online Pharmacy. Pharmacy Store.
  • Buy Cheapest nerve pain supplements Online Guaranteed Shipping. Pharmacy Store.
  • Buy Cheap ultram ingredients Now Safe And Secure Payment System. Low Prices.
  • Buy Cheapest xanax cod Now Best Internet. Buy Medications Online.
  • Buy Cheapest mexico pain meds Now WorldWide Shipping. Free Viagra Pills!
  • Buy Cheap clomid 25mg Now Safe And Secure Payment System. Best Online.
  • Buy Cheapest codeine without prescription Online Drugs, Health And Beauty. Best Internet.
  • Buy Cheap diazepam prescription Online Best Internet. Internet Prices For diazepam prescription!
  • Buy anxiety pills online Online Without Prescription. Low Prices. Best Drugstore.
  • Buy Cheap viagra ejaculation Now No Prescription Needed. Top Online Pharmacy.
  • Buy Cheap cialis contraindications Now Guaranteed Shipping. Online Medical Shop.
  • Buy Cheapest healthy high energy weight losss Online Special Prices For healthy high energy weight losss! Low Prices.