|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Robots.txt
there is a file on my webserver named robots.txt, which is completely empty.
I'm guessing this file serves a purpose with robots/spiders/crawlers, which leads me to think maybe there should be some text in the file, maybe some file names, or instructions for the robot etc?? Anyone shed some light on what i'm meant to do with this particular file? SD ![]()
__________________
"Operator, Give me the number for 911" - Homer J Simpson JonnoWalmsley.com vv Latest Image vv
|
|
#2
|
||||
|
||||
|
Quote:
The robots.txt file is used to help the visiting bots of what parts of your site to index or stay away from (like a folder where your admin section is or other sensitive data you don't want crawled) you can even ban certain robots from landing on your site completely - to read more on how best to set up your txt file read this. |
|
#3
|
|||
|
|||
|
Good information.
|
|
#4
|
||||
|
||||
|
It can also be used by some search engines to find your sitemap file(s).
Code:
Sitemap: http://www.example.com/sitemap.xml.gz People usually put a blank robots.txt in so it saves the search engines getting a 404 when requesting it.
__________________
Cooking Forums |
|
#5
|
|||
|
|||
|
You should ALWAYS have a robots.txt file that keeps robots out of folders you don't want indexed (admin; CGI etc.).
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Robots.txt |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|