StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > Webmaster > Lounge (non-StatCounter related topics here!)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2007, 03:54 PM
GWD GWD is offline
Junior Member
 
Join Date: Feb 2007
Posts: 14
Default Robots

Can anyone tell me do I need a robot.txt file and if so, why? I've heard that it just blocks search engines which is no use to me.
Reply With Quote
  #2  
Old 03-29-2007, 05:38 PM
-=Seth=- -=Seth=- is offline
Active Member
 
Join Date: Nov 2006
Location: lost in space
Posts: 516
Default

use it to tell search engines which pages to include and which to exclude, if you dont have one search engines just go ahead and list what they like, however having one is advisable just for completeness even if its just to say include everything
Reply With Quote
  #3  
Old 03-29-2007, 07:28 PM
jonra01 jonra01 is offline
Master Member
 
Join Date: Feb 2005
Location: Mississippi
Posts: 3,636
Default

The search bots request the robots.txt file everytime they visit your site. If you don't have one it generates a 404 error. If you also don't have a 404 page then it generates another error. These all add to the server load. It also fills up your error log with unimportant errors making it harder to find real problems you might have on your site. It's a good idea to have a robots.txt file even if it is a blank file. Just stick a plain-text file named robots.txt in the root directory of your site.
__________________
John
Reply With Quote
  #4  
Old 03-29-2007, 10:20 PM
rotarysteve rotarysteve is offline
Master Member
 
Join Date: Aug 2005
Location: Ohio
Posts: 1,501
Default

I use a blank/empty robots file on my site. Since I have access to my server logs, it reduced the 404 errors for me. Reducing those errors, made life much easier to find the really important 404's.

It's a good idea to have one I believe, then down the road if you do want to add something, you still can.
Reply With Quote
  #5  
Old 04-01-2007, 10:22 AM
GWD GWD is offline
Junior Member
 
Join Date: Feb 2007
Posts: 14
Default

Thanks. I've uploaded my blank robots.txt file. Is this basically the same as telling the engines to view everything?
Reply With Quote
  #6  
Old 04-01-2007, 01:35 PM
JWJ JWJ is offline
Moderator
 
Join Date: Jan 2004
Location: England
Posts: 5,692
Default

To inform all robots that they are permitted to view all of your pages put these two lines in your file.

User-agent: *
Disallow:

An empty file achieves the same thing because it doesn't tell them they can't.
__________________
... John ...
Reply With Quote
  #7  
Old 04-01-2007, 01:59 PM
Nomad Nomad is offline
Senior Member
 
Join Date: Nov 2004
Posts: 785
Default

Quote:
Originally Posted by JWJ
To inform all robots that they are permitted to view all of your pages put these two lines in your file.

User-agent: *
Disallow:

An empty file achieves the same thing because it doesn't tell them they can't.
em jw? by using that you have just disallowed all files...

you need to be specific about what your disallowing and allowing otherwise leave it blank...
__________________
Siggy Link
Reply With Quote
  #8  
Old 04-01-2007, 02:25 PM
JWJ JWJ is offline
Moderator
 
Join Date: Jan 2004
Location: England
Posts: 5,692
Default

No ... this disallows all pages ...

User-agent: *
Disallow: /

If there is nothing at all after the disallow it means 'disallow nothing'.
__________________
... John ...
Reply With Quote
  #9  
Old 04-01-2007, 06:39 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

Quote:
Originally Posted by JWJ
To inform all robots that they are permitted to view all of your pages put these two lines in your file.

User-agent: *
Disallow:

An empty file achieves the same thing because it doesn't tell them they can't.
That's the default in any case. If no robots.txt file is available or if it's empty, it defaults to this directive.


It's good to have it though so as not to lose track of it.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.

Last edited by webado; 04-01-2007 at 06:44 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.