A robots.txt File: "Using a robots.txt File
04/25/99 by John Pollock
Article Index
This is a useful file that keeps search engines from indexing pages you do not want spidered. Why would you not want a page indexed by a search engine? Perhaps you want to display a page that shows an example of spamming the search engines. This type of page might include an example of repeated keywords, hidden tags with keywords, and other things that could get a page or an entire site banned from a search engine.
An example of such a page is on this server, it is another one of the articles here- and it talks about search engine spammers. To look at the article, see The 'Secrets' of Spamdexers.
The robots.txt file is a good way to prevent this page from getting indexed. However, not every site can use it. The only robots.txt file that the spiders will read is the one at the top html directory of your server. This means you can only use it if you run your own domain. The spiders will look for the file in a location similar to these below:
http://www.pageresource.com/robots.txt
http://www.javascriptcity.com/robots.txt
http://www.mysite.com/robots.txt
Any other location of the robots.txt file will not be read by a search engine spider, so the file locations below will not be worthwhile:
http://www.pageresource.com/html/robots.txt
http://members.someplace.com/you/robots.txt
http://someisp.net/~you/robots.txt
Now, if you have your own domain- you can see where to place the file. So let's take a look at exactly what needs to go into the robots.txt file to make the spider see what you want done.
If you want to exclude all the search engine spiders from your entire domain, you would write just the following into the robots.txt file:
Us"
這裡,2005年建立的別墅,因為Y!Blog的結束成為主要活動空間。 Y!Blog的舊資料(至2013年9月份)都放在隔壁: http://tigerz-yblog2013.blogspot.com
星期一, 6月 06, 2005
訂閱:
張貼留言 (Atom)
-
昨天在YBlog留下一篇《Blog搬遷很痛苦?》就打包正式離開Yblog了。 與人家打包(ZIP)20個鐘頭還沒有完成的,我30分鐘就收到完成通知。這麼快完成打包,反而更有一種被歧視的感覺:似乎是被隨便收拾了行李,塞進了一個包裹,扔出門外,說:『你走吧!』 走就走!浪子四...
-
其實不大想點名道姓講出「雞伯嶺」來。 始終這裡偏僻,沒有公共交通工具經此。如果揸車而來,多幾輛車已經會動彈不得。 以前曾經來過,但發現突入狗窩禁戒區,被幾隻惡犬嚴重警告而身退,但是地形則留下深刻印象:朝西的大斜坡,整個西部通道大橋一覽無遺。 這裡開車只是大約...
-
臥牛 臥牛 ガギュウ 多肉植物 科名:ユリ科 ガステリア属丈:5cm特徴:暗緑色の分厚い葉を左右に規則的に広げる生育は遅い注意:暑さ寒さの抵抗力は強いが高温を嫌う根が太く長い直根なので深鉢で夏場の水やりは控えめに 霧水程度で可
沒有留言:
張貼留言