pctank
03-21-2008, 05:13 PM
Please give advise about adding a robots.txt file to your website directory and whats the perpose and do you need it?
Wow im short of breath :eek:
Wow im short of breath :eek:
![]() | View Full Version : Advice on robots.txt pctank 03-21-2008, 05:13 PM Please give advise about adding a robots.txt file to your website directory and whats the perpose and do you need it? Wow im short of breath :eek: Sam Robertson 03-21-2008, 05:16 PM This gives info on robots.txt: http://www.robotstxt.org/robotstxt.html angilina 03-21-2008, 06:29 PM I think you need to add it and its really easy. Just make a file and name it "robot.txt" and put this in it User-agent: * Disallow: This will tell search bot to index all your pages. Feydakin 03-21-2008, 08:41 PM You never have to tell the search engines to index your pages, only what pages to not index.. nuclei 03-21-2008, 08:47 PM Just make a file and name it "robot.txt" #1. It is "robots.txt" NOT "robot.txt". User-agent: * Disallow: This will tell search bot to index all your pages. Actually if no param is given, as in your example,after the disallow, it probably will tell the bots to NOT index any of your pages as the default is * if I recall correctly. So if this user used your advice, he would have lost any pages in the engines that he had already. Please read, learn, and not give advice unless you know what you are talking about. nuclei 03-21-2008, 08:49 PM Please give advise about adding a robots.txt file to your website directory and whats the perpose and do you need it You do not need it unless you actually wish to block the spiders from certain files or directories on your web site. I would suggest uploading an empty robots.txt file to your main html directory anyways, to cut down on the filesize of your apache error log due to it not being found at all. And the web site that Sam gave you above is a good place to learn if you actually DO want to block things from the spiders. pctank 03-22-2008, 03:52 AM Thanks that is a good idea Thanks guys Biju 03-22-2008, 06:32 AM Here is a article http://www.seopapers.com/article/357 Well the author is none other than me, self promotion. LOL intesync 03-22-2008, 09:33 PM Hi Isak, It's best used to prevent search engines from indexing pages and directories that you don't want to be displayed to the public. It's not just Google and Yahoo! There are free/paid search engine services that anyone can use to search through your sites for information. PicoSearch is a quick example. Another reason would be to keep your site from archived by the Internet Archive (or the Internet Time Machine). Not too many people know this but it can be bad for publicity if you have a unsuitable page that you cannot removed from the Internet. Zafar Ahmed 03-23-2008, 01:21 AM Okay, the purpose behind the robot file is to guide the robot. If you let it like that it will index every page unless you stop him from doing it do or stop him from indexing a specific link. Other than that, people use it for sitemaps as well. If you don't have robot.txt; you don't need to worry if Google is going to index you or not. The Algo is different now. pctank 03-23-2008, 03:11 PM You do not need it unless you actually wish to block the spiders from certain files or directories on your web site. I would suggest uploading an empty robots.txt file to your main html directory anyways, to cut down on the filesize of your apache error log due to it not being found at all. And the web site that Sam gave you above is a good place to learn if you actually DO want to block things from the spiders. Ok shall i apply a empty robot.txt file into my directory just for the hell of it???? Feydakin 03-23-2008, 03:30 PM You can.. It won't matter one way or the other.. I do that with some sites just to stop the 404 error reports on that domain.. angilina 03-23-2008, 04:28 PM #1. It is "robots.txt" NOT "robot.txt". Actually if no param is given, as in your example,after the disallow, it probably will tell the bots to NOT index any of your pages as the default is * if I recall correctly. So if this user used your advice, he would have lost any pages in the engines that he had already. Please read, learn, and not give advice unless you know what you are talking about. Take a look at this page and try to learn robotstxt.org/robotstxt.html there is a difference between to codes To exclude all robots from the entire server User-agent: * Disallow: / To allow all robots complete access User-agent: * Disallow: May be you forgot to wear your glasses:rofl: Biju 03-23-2008, 04:32 PM Robots.txt is neccessary if you are looking to block your seayorch engine. Its the way you guide your bots when entering into your websites. Zafar Ahmed 03-23-2008, 05:20 PM Robots.txt is neccessary if you are looking to block your seayorch engine. Its the way you guide your bots when entering into your websites. Biju - do you guys call "search" "seayorch" down there in India? :D Biju 03-23-2008, 06:01 PM Biju - do you guys call "search" "seayorch" down there in India? :D Zafar, typing mistake friend anyway what ever we call the same is proceed by our brothers in pakistan.:) Hope y:)nger brother follows the big one.:D:D Zafar Ahmed 03-23-2008, 08:35 PM Zafar, typing mistake friend anyway what ever we call the same is proceed by our brothers in pakistan.:) Hope y:)nger brother follows the big one.:D:D I really don't know what you mean - have you been drinking lately? :D Pete doss 03-28-2008, 01:19 PM See about robotstxt.org To exclude all robots from the entire server User-agent: * Disallow: / See robotstxt.html To allow all robots complete access User-agent: * Disallow: Thats it :) Biju 03-28-2008, 01:28 PM I really don't know what you mean - have you been drinking lately? :D Well friends drinking is my profession as i can't live a life without it. lol , Read it again you will understand.:D nuclei 03-28-2008, 07:10 PM Take a look at this page and try to learn May be you forgot to wear your glasses:rofl: Not at all. I just have a longer memory of search engines and anything concerning them than you have been out of diapers. My recollection was indeed outdated however, and I stated "as I recall" in my original post in that event. That recollection was based on when Yahoo started managing wildcards in the robots.txt file. The fact remains that the ONLY good reason for even having a robots.txt file UNLESS you are trying to block something is to stop your error_log filesize from growing. You never need to TELL the search engines to index every page it can find on your website. That is done by default in every engine. You only need to tell them when to NOT index them. Ra3o7 04-25-2008, 09:01 AM Here one more short description robot.txt (http://www.free-seo-news.com/all-about-robots-txt.htm) rcrrich 04-25-2008, 12:45 PM You really have to know how to use this file correctly and if you just state Disallow and don't state the robots name it won't work. I know as I use tools to see what the robot will do and I have seen them go right to the page that is stated not to go to. Here is the wrong way to tell robot not to index a dir: User-agent: * Disallow: /dir name/ Here is the correct way to disallow a certain robot: User-agent: Googlebot Disallow: /dir name/ For some reason the first one always let Googlebot in and when doing the second it did not. Or any of the other robots. Hope this helps. Melnel 04-26-2008, 12:01 AM You really have to know how to use this file correctly and if you just state Disallow and don't state the robots name it won't work. I know as I use tools to see what the robot will do and I have seen them go right to the page that is stated not to go to. Here is the wrong way to tell robot not to index a dir: User-agent: * Disallow: /dir name/ Here is the correct way to disallow a certain robot: User-agent: Googlebot Disallow: /dir name/ For some reason the first one always let Googlebot in and when doing the second it did not. Or any of the other robots. Hope this helps. This is pretty strange all right since all bots and especially googlebot are supposed to understand the wildcard. Its even stranger that specifying Googlebot would keep out all the other bots. Are you really sure of this information? My experience has been exactly the opposite. rcrrich 04-26-2008, 12:19 AM This is pretty strange all right since all bots and especially googlebot are supposed to understand the wildcard. Its even stranger that specifying Googlebot would keep out all the other bots. Are you really sure of this information? My experience has been exactly the opposite. Not what I was saying that was just one example of just one robot I tried this out as I used the tools in google itself and when you don't put the robot like i showed it still was allowed. So do as you wish just saying from my experience. Try it in google tools you will see. I thought as you did. |