<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>飞鸟@老泰的网赚博客 &#187; robots.txt</title>
	<atom:link href="http://www.laotai.info/tag/robots-txt/feed" rel="self" type="application/rss+xml" />
	<link>http://www.laotai.info</link>
	<description>关注博客赚钱、网络竞价、淘宝客以及wordpress</description>
	<lastBuildDate>Tue, 10 Aug 2010 17:44:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>robots.txt的基础写法</title>
		<link>http://www.laotai.info/archives/33.html</link>
		<comments>http://www.laotai.info/archives/33.html#comments</comments>
		<pubDate>Sat, 06 Jun 2009 16:29:17 +0000</pubDate>
		<dc:creator>老泰</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[robots.txt]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[基础]]></category>

		<guid isPermaLink="false">http://laotai.cainiaodaxue.com/?p=30</guid>
		<description><![CDATA[<p>众所周知，当搜索引擎找到你的网站的时候第一个要去查看的就是你有没有robots.txt，如果有的话那么搜索引擎的蜘蛛便会根据你所制定的规则去搜索你的网站。那么robots.txt改如何写？</p><p>其实最简单的写robots.txt有三个简易方法。一是去<a target="_blank" href="http://baike.baidu.com/view/1280732.htm">百度百科</a>。二是去<a target="_blank" href="https://www.google.com/webmasters/tools">谷歌网站管理员工具</a>。三嘛..嘿嘿，就是自己学习规则，自己去写咯~</p><p>...</p>]]></description>
			<content:encoded><![CDATA[<p>众所周知，当搜索引擎找到你的网站的时候第一个要去查看的就是你有没有robots.txt，如果有的话那么搜索引擎的蜘蛛便会根据你所制定的规则去搜索你的网站。那么robots.txt改如何写？</p>
<p>其实最简单的写robots.txt有三个简易方法。一是去<a target="_blank" href="http://baike.baidu.com/view/1280732.htm">百度百科</a>。二是去谷歌网站管理员工具。三嘛..嘿嘿，就是自己学习规则，自己去写咯~</p>
<p>当然了。其实规则也相当简单，我们只要记住三条简单规则。</p>
<p>　&bull; User-Agent: 适用下列规则的漫游器</p>
<p>　&bull; Disallow: 要拦截的网页</p>
<p>　&bull; Allow: 允许搜索的网页</p>
<p>最最简单的写法：</p>
<p>User-Agent: *<br />Allow: /</p>
<p>含义为允许所有的搜索引擎搜索网站根目录下的所有文件。</p>
<p>范例一：</p>
<p>User-Agent: *<br />Disallow: /AAA<br />Allow: /</p>
<p>含义为允许所有的搜索引擎搜索网站根目录下除AAA文件夹以外的所有文件。</p>
<p>范例二：</p>
<p>User-Agent: *<br />Disallow: /BBB.html<br />Allow: /</p>
<p>含义为允许所有的搜索引擎搜索网站根目录下除BBB.html文件以外的所有文件。</p>
<p>说白了就是Disallow为不允许，Allow为允许。或者大家多看一下<a target="_blank" href="http://baike.baidu.com/view/1280732.htm">百度百科</a>对于robots.txt的解释即可。</p>
<p>也可以看一下<a target="_blank" href="http://www.laotai.info">飞鸟@老泰的官方博客</a>的robots.txt是如何写的：<a href="http://www.laotai.info/robots.txt">http://www.laotai.info/robots.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.laotai.info/archives/33.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
