<?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; SEO</title>
	<atom:link href="http://lurenba.com/category/seo/feed" rel="self" type="application/rss+xml" />
	<link>http://lurenba.com</link>
	<description>冷眼旁观...</description>
	<lastBuildDate>Fri, 08 Oct 2010 05:41:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SEO基础之使用301定向。</title>
		<link>http://lurenba.com/301-directed-the-use-of-basic-seo.html</link>
		<comments>http://lurenba.com/301-directed-the-use-of-basic-seo.html#comments</comments>
		<pubDate>Sat, 29 Aug 2009 19:42:30 +0000</pubDate>
		<dc:creator>江月何年</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.lurenba.com/?p=253</guid>
		<description><![CDATA[　　今天在学习SEO教程中，发现最基本，最简单的一条。

　　即将形如lurenba.com的链接重新指向www.lurenba.com

　　这样不会有2个地址来分散同一个主页的权重。

<span class="readmore"><a href="http://lurenba.com/301-directed-the-use-of-basic-seo.html" title="SEO基础之使用301定向。">阅读全文——共442字</a></span>]]></description>
			<content:encoded><![CDATA[<p>　　今天在学习SEO教程中，发现最基本，最简单的一条。<br />
　　即将形如lurenba.com的链接重新指向www.lurenba.com<br />
　　这样不会有2个地址来分散同一个主页的权重。</p>
<p>　　具体实现方法为通过修改.htaccess，以达到目标。<br />
　　在文件中添加一句<br />
<span id="more-253"></span></p>
<pre>Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]</pre>
<p>　　即可实现所有lurenba.com/XX的页面重新指向www.lurenba.com/XX</p>
<p>　　如果希望重定向www.domain.com到domain.com，则按以下修改</p>
<pre>RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]</pre>
]]></content:encoded>
			<wfw:commentRss>http://lurenba.com/301-directed-the-use-of-basic-seo.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

