<?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; wordpress</title>
	<atom:link href="http://www.weijingtai.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weijingtai.com</link>
	<description>Url rewrite 伪静态规则使用收集</description>
	<lastBuildDate>Mon, 14 Jun 2010 03:30: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>wordpress FOR IIS7 URL Rewrite</title>
		<link>http://www.weijingtai.com/2009/07/13/wordpress-rewrite-for-iis7/</link>
		<comments>http://www.weijingtai.com/2009/07/13/wordpress-rewrite-for-iis7/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 06:54:18 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[IIS7-rewrite]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[中文tag]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=107</guid>
		<description><![CDATA[wordpress 官方已经内置了 IIS7 URL Rewrite 的支持，但对于中文用户来说，官方内置的伪静态规则不能完好的支持中文tag的问题。虽然可以更改系统文件来解决，但比较麻烦，而且不方便，所以一直没介绍过。现在帖出一个自用的的规则，可以解决wordpress的中文tag的问题。]]></description>
			<content:encoded><![CDATA[<p>wordpress 官方已经内置了 IIS7 URL Rewrite 的支持，但对于中文用户来说，官方内置的伪静态规则不能完好的支持<a href="http://www.weijingtai.com/tag/%e4%b8%ad%e6%96%87tag/">中文tag</a>的问题。虽然可以更改系统文件来解决，但比较麻烦，而且不方便，所以一直没介绍过。现在帖出一个自用的的规则，可以解决wordpress的中文tag的问题。<br />
<span id="more-107"></span><br />
将下列代码加入到web目录下的web.config文件的&lt;system.webServer&gt;之后即可。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">        &lt;rewrite&gt;
           &lt;rules&gt;
                &lt;clear /&gt;
                &lt;rule name=&quot;wordpress2.7&quot; stopProcessing=&quot;true&quot;&gt;
                    &lt;match url=&quot;.*&quot; /&gt;
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot;&gt;
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsFile&quot; negate=&quot;true&quot; /&gt;
                        &lt;add input=&quot;{REQUEST_FILENAME}&quot; matchType=&quot;IsDirectory&quot; negate=&quot;true&quot; /&gt;
                    &lt;/conditions&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;index.php&quot; /&gt;
                &lt;/rule&gt;
                &lt;rule name=&quot;chinese tag&quot; stopProcessing=&quot;true&quot;&gt;
                    &lt;match url=&quot;/tag/(.*)&quot; /&gt;
                    &lt;conditions logicalGrouping=&quot;MatchAll&quot; /&gt;
                    &lt;action type=&quot;Rewrite&quot; url=&quot;/index\.php\?tag={R:1}&quot; /&gt;
                &lt;/rule&gt;
	   &lt;/rules&gt;
	&lt;/rewrite&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/07/13/wordpress-rewrite-for-iis7/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>wordpress 2.8将内建IIS 7 URL Rewrite Module支持</title>
		<link>http://www.weijingtai.com/2009/05/22/wordpress-iis7-url-rewrite-module/</link>
		<comments>http://www.weijingtai.com/2009/05/22/wordpress-iis7-url-rewrite-module/#comments</comments>
		<pubDate>Fri, 22 May 2009 18:39:12 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[IIS7-rewrite]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[wordpress2.8]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=93</guid>
		<description><![CDATA[最近几天正在测试IIS7  URL Rewrite Module 的一些伪静态规则，从RuslanY的blog上得知，wordpress2.8将内建对IIS7 URL Rewrite Module的支持，在wp 2.8的后台设置=》固定链接中，选择好要使用的固定链接形式以后点击保存，将自动显示出一段用于IIS7  URL Rewrite Module 的规则，复制这段规则到网站目录下的web.config文件中，即可实现wordprss的固定链接。]]></description>
			<content:encoded><![CDATA[<p>最近几天正在测试IIS7  URL Rewrite Module 的一些伪静态规则，从<a href="http://ruslany.net/" target="_blank">RuslanY</a>的blog上得知，wordpress2.8将内建对IIS7 URL Rewrite Module的支持，检测到环境包含IIS7 URL Rewrite Module1.1以后，在wp 2.8的后台设置=》固定链接中，选择好要使用的固定链接形式以后点击保存，将自动将相应的伪静态规则添加到web.config文件中，即可实现wordprss的固定链接。</p>
<p>如图所示 <br />
<span id="more-93"></span></p>
<p><a href="http://www.weijingtai.com/wp-content/uploads/2009/05/e340_wp-permalinks-patch.png"><img src="http://www.weijingtai.com/wp-content/uploads/2009/05/e340_wp-permalinks-patch.png" alt="" width="585" height="505" /></a></p>
<p><a href="http://www.weijingtai.com/wp-content/uploads/2009/05/6db7_wp-permalinks-patch1.png"><img src="http://www.weijingtai.com/wp-content/uploads/2009/05/9823_wp-permalinks-patch1-500x446.png" alt="" width="585" height="465" /></a></p>
<p>从图中可以看出这段规则代码和现在IIS7官方所出示的wordpress 2.7所用的代码相同，2.8只是将其内置在后台提示</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/05/22/wordpress-iis7-url-rewrite-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 2.7 win+iis环境下伪静态</title>
		<link>http://www.weijingtai.com/2009/04/10/wordpress-27-win-iis-rewrite/</link>
		<comments>http://www.weijingtai.com/2009/04/10/wordpress-27-win-iis-rewrite/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 13:29:23 +0000</pubDate>
		<dc:creator>衣不如新</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[isapi]]></category>
		<category><![CDATA[rewrite]]></category>
		<category><![CDATA[win]]></category>
		<category><![CDATA[wordpress2.7]]></category>
		<category><![CDATA[中文tag]]></category>
		<category><![CDATA[伪静态]]></category>

		<guid isPermaLink="false">http://www.weijingtai.com/?p=57</guid>
		<description><![CDATA[以下给出的规则，利用isapi-rewrite组件，可完全实现wordpress的永久链接，支持后台自带的多种链接形势，无需带index.php参数。isapi-rewrite组件目前国内大多数主机商默认自带，不需要安装，下载文后提供的httpd.ini规则放入wp的根目录即可生效。]]></description>
			<content:encoded><![CDATA[<p>wordpress从2.x以后自带永久链接（Permalink-伪静态）的支持，不过在iis环境下，链接后带有index.php的方式，如<br />
http://www.weijingtai.com/<span style="color: #ff6600;">index.php</span>/2009/04/10/wordpress-27-win-iis-rewrite,如何去掉烦人的index.php呢，网上有不少方法，一种通过404错误页进行跳转，不过由于不知对搜索引擎是否有影响，就不推荐了。以下给出的规则，利用<a href="http://www.helicontech.com/isapi_rewrite/" target="_blank">isapi-rewrite</a>组件，可完全实现wordpress的永久链接，支持后台自带的多种链接形势，无需带index.php参数。<a href="http://www.helicontech.com/isapi_rewrite/" target="_blank">isapi-rewrite</a>组件目前国内大多数主机商默认自带，不需要安装，下载文后提供的httpd.ini规则放入wp的根目录即可生效。</p>
<p><span id="more-57"></span></p>
<p>   <a class="downloadlink dlimg" href="http://www.weijingtai.com/wp-content/plugins/download-monitor/download.php?id=5" title="Version 2.7 downloaded 1198 times" ><img src="http://www.weijingtai.com/wp-content/uploads/2009/04/download.png" alt="Download wordpress 2.7 iis环境下伪静态规则 Version 2.7" /></a></p>
<p>规则原作者转载过多无从查考，在些表示敬意。另外，本规则添加了<a href="http://www.wordpress.org" target="_blank">wordpress</a>在win主机下的中文tag解决方案，使用此规则后无需更改wp的源文件即可解决中文tag的识别问题。本规则目前完美解决了wordpress 2.7 win+iis环境下伪静态的问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.weijingtai.com/2009/04/10/wordpress-27-win-iis-rewrite/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

