I would say it would probably be a better plan to either cfparam the missing variables, or cfcatch the erroring code.
-Cameron ----------------- Cameron Childress Sumo Consulting Inc. --- cell: 678-637-5072 aim: cameroncf email: [EMAIL PROTECTED] > -----Original Message----- > From: cfhelp [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 8:15 PM > To: CF-Talk > Subject: GoogleBot Robot.txt > > > I have put a robots.txt file in the root of my site to stop it from > accessing subdirectories. But GoogleBot is still accessing all > the files in > my root bit some of the files do not run without passing a > variable to them. > So my Application Logfile is full of errors. > > So I want to know if it is a good idea to put this in my Application.cfm > file? > > <cfif HTTP_USER_AGENT IS 'Googlebot/2.1 > (+http://www.googlebot.com/bot.html)'> > > <html> > <head> > <title>Site Title</title> > > <meta tags> > > </head> > <body> > > Text from the About page > > </body> > </html> > <cfabort> > </cfif> > > > This way Google gets to spider all pages and I don't get any errors. > > Rick > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

