Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 16th Mar 2010, 07:36 PM   #1
copy and paste geek
War Room Member
 
Join Date: 2005
Location: Calgary
Posts: 1,571
Thanks: 149
Thanked 321 Times in 259 Posts
Default
robots.txt errors
Share on: 
fb share twitter share gplus share more share

I like to keep my error log down to help when there is a screw up. I always thought that this in the head was enough for the robots.

<meta name="robots" content="index, follow," />

But I keep getting them looking for public/robots.txt and creating an error line. (snarl)

Should I also include a text file in the public folder for them? I guess the content would be

user-agent: *
disallow:

I also hate clogging up my public folder so adding a file for 2 db seems a bit tedious too. (groan) (db is geek speak for dozen bytes)

Also while I was googling this I ran into quite a few comments that there is no point in having the meta tag I quoted above unless you want to disallow. The default behavior for robots is to follow. Guess i should delete them all?

Anybody have any comments about any of this and happen to feel a little chatty?

Do something spectacular; be fulfilled. Then you can be your own hero. Prem Rawat

The KimW WSO
Lloyd Buchinski is offline  
Unread 17th Mar 2010, 06:21 PM   #2
Active Warrior
 
aarondwyer's Avatar
 
Join Date: 2006
Location: Brisbane, Australia.
Posts: 83
Thanks: 4
Thanked 13 Times in 5 Posts
Default
Re: robots.txt errors
Share on: 
fb share twitter share gplus share more share

Just put in a robots.txt file in your root web directory, and then make sure your website is in Google Webmasters and that it validates your robots.txt.

Also be aware that newer versions of Wordpress have a virtual robots.txt

Use the meta to dissallow as you have said.

Aaron

http://backup-smart.com - Automatically And Safely Backup All Your cPanel Websites To Your Local Computer, Get your Free 7 Day Trial. Windows, MAC
aarondwyer is offline  
Closed Thread


Bookmarks

Tags
errors, robotstxt


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:57 PM.