<?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; permalink redirect</title>
	<atom:link href="http://heavenfire.cn/tag/permalink-redirect/feed" rel="self" type="application/rss+xml" />
	<link>http://heavenfire.cn</link>
	<description>两点一线。</description>
	<lastBuildDate>Thu, 29 Jul 2010 06:52:16 +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>伪静态和重定向</title>
		<link>http://heavenfire.cn/200912/rewrite-and-permalink-redirect.html</link>
		<comments>http://heavenfire.cn/200912/rewrite-and-permalink-redirect.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 04:34:56 +0000</pubDate>
		<dc:creator>流沙咖啡</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[permalink redirect]]></category>
		<category><![CDATA[WordPress插件]]></category>
		<category><![CDATA[伪静态]]></category>
		<category><![CDATA[重定向]]></category>

		<guid isPermaLink="false">http://heavenfire.cn/?p=813</guid>
		<description><![CDATA[为了让我的blog看上去心理踏实一点，所以就设置了伪静态，使文章地址看上去形如http://heavenfire.cn/200912/abc.html这种格式。而之前一直都是http://heavenfire.cn/2009/12/abc/这种格式。
htm和html都是网页的后缀名，但是在这里的伪静态只是纯粹看上去像网页文件而已，实质内容和原来的没有任何区别。
问题出来了，在我修改了伪静态之后，所有文章的地址都变成新的格式了，而以前那种格式就立刻访问不了了，这无疑是个天大的打击，因为这涉及到搜索引擎的收录还有之前文章所做过的大量外链，如果不使以前的链接正常访问，那就会出现严重的后果……
之前在铁血丹心上看到的一个插件permalink redirect manager可以实现链接重定向。
在Old Permalink Structures一栏中填入以前的格式就可以了。
比如我以前的是/%year%/%monthnum%/%postname%/，而现在的是/%year%%monthnum%/%postname%.html，就成功的实现了将原来的地址伪静态化，并且将两级目录改为一级目录。
相关文章2009年12月12日 -- WP插件audio player介绍 (2)

© 流沙咖啡 for 流沙咖啡·冷色调, 2009. &#124;
Permalink &#124;
10条评论 

文章标签: permalink redirect, WordPress插件, 伪静态, 重定向

Feed enhanced by Better Feed from  Ozh
]]></description>
			<content:encoded><![CDATA[<p>为了让我的blog看上去心理踏实一点，所以就设置了伪静态，使文章地址看上去形如http://heavenfire.cn/200912/abc.html这种格式。而之前一直都是http://heavenfire.cn/2009/12/abc/这种格式。</p>
<p>htm和html都是网页的后缀名，但是在这里的伪静态只是纯粹看上去像网页文件而已，实质内容和原来的没有任何区别。</p>
<p>问题出来了，在我修改了伪静态之后，所有文章的地址都变成新的格式了，而以前那种格式就立刻访问不了了，这无疑是个天大的打击，因为这涉及到搜索引擎的收录还有之前文章所做过的大量外链，如果不使以前的链接正常访问，那就会出现严重的后果……</p>
<p>之前在<a href="http://txdx.org" target="_blank">铁血丹心</a>上看到的一个插件permalink redirect manager可以实现链接重定向。</p>
<p>在Old Permalink Structures一栏中填入以前的格式就可以了。</p>
<p>比如我以前的是/%year%/%monthnum%/%postname%/，而现在的是/%year%%monthnum%/%postname%.html，就成功的实现了将原来的地址伪静态化，并且将两级目录改为一级目录。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li>2009年12月12日 -- <a href="http://heavenfire.cn/200912/wp-audio-player.html" title="WP插件audio player介绍">WP插件audio player介绍</a> (2)</li></ul><br/>
<hr />
<p><small>© 流沙咖啡 for <a href="http://heavenfire.cn">流沙咖啡·冷色调</a>, 2009. |
<a href="http://heavenfire.cn/200912/rewrite-and-permalink-redirect.html">Permalink</a> |
<a href="http://heavenfire.cn/200912/rewrite-and-permalink-redirect.html#comments">10条评论</a> 
<br/>
文章标签: <a href="http://heavenfire.cn/tag/permalink-redirect" rel="tag">permalink redirect</a>, <a href="http://heavenfire.cn/tag/wordpress%e6%8f%92%e4%bb%b6" rel="tag">WordPress插件</a>, <a href="http://heavenfire.cn/tag/%e4%bc%aa%e9%9d%99%e6%80%81" rel="tag">伪静态</a>, <a href="http://heavenfire.cn/tag/%e9%87%8d%e5%ae%9a%e5%90%91" rel="tag">重定向</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://heavenfire.cn/200912/rewrite-and-permalink-redirect.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
