<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[北京SEO_北京SEO培训 - 【元创SEO】]]></title> 
<link>http://www.yuan-chuang.cc/index.php</link> 
<description><![CDATA[元创拥有10多年网络营销和SEO实战经验、管理经验。 《SEO实战 - 核心技术、优化策略、流量提升》一书作者。SEO实战家、推一把联合创始人]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[北京SEO_北京SEO培训 - 【元创SEO】]]></copyright>
<item>
<link>http://www.yuan-chuang.cc/read.php/833.htm</link>
<title><![CDATA[如何解决BO-BLOG中文TAG出错，点击出现404错误]]></title> 
<author>元创 &lt;&gt;</author>
<category><![CDATA[网站建设]]></category>
<pubDate>Fri, 19 Aug 2011 07:50:44 +0000</pubDate> 
<guid>http://www.yuan-chuang.cc/read.php/833.htm</guid> 
<description>
<![CDATA[ 
	如何解决BO-BLOG中文TAG出错，点击出现<a href="http://www.lxysem.cn/read.php/50.htm" target="_blank">404</a>错误<br/><br/><a href="http://www.yuan-chuang.cc/attachment.php?fid=140" target="_blank"><img src="http://www.yuan-chuang.cc/attachment.php?fid=140" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>终于解决了BO-BLOG中文TAG出错的问题，点击再也没有出现404错误。<br/><br/>具体症状：<br/><br/>博客开启URL优化之后，博客的所有中文tag点击之后，会出现404错误，但是点击英文tag是正常的，我关闭URL优化之后，不管中文，英文tag都可以正常访问。<br/><br/>问题解决经过：<br/><br/>先是在网上找了好一通，看有没有人和我一样的症状，并且想找到解决方案。但是，让我失望的是，虽然找到了同病相怜的人，但没找到对症下药的方子。<br/><br/>没办法，只能自己琢磨了。尽管过程很曲折【此处省略1万字】，但还是让我找到了解决问题的方法，具体如下：<br/><br/>1. 先找到BO-BLOG目录下的inc文件夹，点开并找到url.php文件。<br/>2. 打开url.php文件，找到下面的代码：<br/><br/>function getlink_tags ($tagname, $mode=null, $page=null) &#123;<br/>if (URLRewrite==1) $outurl="go.php/tags/&#123;$tagname&#125;/";<br/>elseif (URLRewrite==2) $outurl="tags/&#123;$tagname&#125;/";<br/>else $outurl="tag.php?tag=&#123;$tagname&#125;";<br/>if (!is_null($mode)) &#123;<br/>$outurl.=(URLRewrite>=1) ? "&#123;$mode&#125;/" : "&amp;mode=&#123;$mode&#125;";<br/>&#125;<br/>if (!is_null($page)) &#123;<br/>$outurl.=(URLRewrite>=1) ? "&#123;$page&#125;/" : "&amp;page=&#123;$page&#125;";<br/>&#125;<br/>return $outurl;<br/><br/>说明一下：这段代码就是控制URL优化前后的TAG网址的编码规则。<br/><br/>3. 将第2行和第3行代码改成：<br/>if (URLRewrite==1) $outurl="tag.php?tag=&#123;$tagname&#125;";<br/>elseif (URLRewrite==2) $outurl="tag.php?tag=&#123;$tagname&#125;"; <br/>4. 最后将文件保存，上传服务器。测试，搞定，一切OK！！<br/>
]]>
</description>
</item><item>
<link>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment2253</link>
<title><![CDATA[[评论] 如何解决BO-BLOG中文TAG出错，点击出现404错误]]></title> 
<author>沈阳精神分裂症医院 &lt;936890521@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 29 Aug 2011 07:52:36 +0000</pubDate> 
<guid>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment2253</guid> 
<description>
<![CDATA[ 
	又解决了一个问题
]]>
</description>
</item><item>
<link>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment2771</link>
<title><![CDATA[[评论] 如何解决BO-BLOG中文TAG出错，点击出现404错误]]></title> 
<author>泉州seo &lt;1010389494@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 11 Oct 2011 15:15:47 +0000</pubDate> 
<guid>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment2771</guid> 
<description>
<![CDATA[ 
	如何解决BO-BLOG中文TAG出错，点击出现404错误
]]>
</description>
</item><item>
<link>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment9696</link>
<title><![CDATA[[评论] 如何解决BO-BLOG中文TAG出错，点击出现404错误]]></title> 
<author>手机电池 &lt;2117066@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 07 Feb 2012 06:40:01 +0000</pubDate> 
<guid>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment9696</guid> 
<description>
<![CDATA[ 
	正想解决这个问题！
]]>
</description>
</item><item>
<link>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment232509</link>
<title><![CDATA[[评论] 如何解决BO-BLOG中文TAG出错，点击出现404错误]]></title> 
<author>秋水博客 &lt;835197730@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 21 Jan 2015 02:51:21 +0000</pubDate> 
<guid>http://www.yuan-chuang.cc/read.php/833.htm#blogcomment232509</guid> 
<description>
<![CDATA[ 
	你好老师：请教个问题，bo-blog博客的中文标签，是urlEncode格式，地址栏显示的也是urlEncode编码，包括百度收录的也是这种格式，如何让百度收录中文格式呢？谢谢。
]]>
</description>
</item>
</channel>
</rss>