<?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>3G新网络日志 &#187; 中文Tag</title>
	<atom:link href="http://www.3gpzone.net/tag/%e4%b8%ad%e6%96%87tag/feed" rel="self" type="application/rss+xml" />
	<link>http://www.3gpzone.net</link>
	<description>Sugar’s mobile phone Blog</description>
	<lastBuildDate>Thu, 03 Nov 2011 06:59:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress 中文 Tag 链接问题解决方案</title>
		<link>http://www.3gpzone.net/wphosts/wordpress-tag-link-solutions-to-problems-in-chinese.html</link>
		<comments>http://www.3gpzone.net/wphosts/wordpress-tag-link-solutions-to-problems-in-chinese.html#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:04:41 +0000</pubDate>
		<dc:creator>笑哥儿</dc:creator>
				<category><![CDATA[建站技术]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[中文Tag]]></category>
		<category><![CDATA[链接出错]]></category>

		<guid isPermaLink="false">http://www.3gpzone.net/wordpress/wordpress-%e4%b8%ad%e6%96%87-tag-%e9%93%be%e6%8e%a5%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88.html</guid>
		<description><![CDATA[WordPress 中文 Tag 链接无法正常访问的问题想必多数使用 Windows+IIS 主机的朋友都有遇到，以前出现这个问题增加一条伪静态规则就可以解决，见：wordpress win主机用404实现静态化，换了虚拟主机后不行了。找到一些可行的解决办法，摘录如下： 产生这个问题的主要原因是地址编码问题，及UTF-8和GBK之间转换的问题。IIS 对 URL 截取的时候取得的是 GBK 编码，但是 WordPress 中文都用的 UTF-8 编码，所以我们要对编码进行处理后再交给数据库进行查询。 一、转换编码解决 WordPress 中文 Tag 链接问题(推荐) 打开文件：wp-includes\classes.php 查找： $pathinfo = $_SERVER['PATH_INFO']; 修改为： $pathinfo = mb_convert_encoding($_SERVER['PATH_INFO'], &#34;UTF-8&#34;, &#34;GBK&#34;); 再查找： $req_uri = $_SERVER['REQUEST_URI']; 修改为： $req_uri = mb_convert_encoding($_SERVER['REQUEST_URI'], &#34;UTF-8&#34;, &#34;GBK&#34;); 保存，上传，问题解决。 二、禁止 Tag 伪静态解决 WordPress 中文 Tag 链接问题 打开文件：wp-includes/rewrite.php 查找： function get_tag_permastruct() [...]]]></description>
		<wfw:commentRss>http://www.3gpzone.net/wphosts/wordpress-tag-link-solutions-to-problems-in-chinese.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

