<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/feedsky2.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.linhun.com" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/linhun" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 23 Feb 2012 02:49:02 GMT</lastBuildDate><title>灵魂博客</title><description>专业的IT评论博客</description><link>http://linhun.com</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><xhtml:meta name="robots" content="noindex"></xhtml:meta><language>en</language><pubDate>Thu, 23 Feb 2012 02:49:02 GMT</pubDate><item><title>如何设置一个301重定向</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608897102/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1431.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>许多人都不知道如何正确的设置301重定向。其实，设置301重定向很简单。301 Redirect不同于302 重定向，它是永久的，这点要切记。因此，301重定向不能随意使用。 301重定向的用处： 如果你的网站域名发生了变化，那么可以通过301重定向过去，把权重从旧的域名转移到新的域名上面。 网站域名一般分为www和不带www的。我们可以保留www的，把不带www的域名指向www，保证网站的唯一性，这样也是有利于seo的。 下面来说一下301重定向的代码： PHP Single Page Redirect &amp;#60;?php header(&quot;HTTP/1.1 301 Moved Permanently&quot;); header(&quot;Location: http://www.newdomain.com/page.html&quot;); exit(); ?&amp;#62;  PHP Canonical Redirect &amp;#60;?php if (substr($_SERVER['HTTP_HOST'],0,3) != 'www') { header('HTTP/1.1 301 Moved Permanently'); header('Location: http://www.'.$_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']); } ?&amp;#62; Apache .htaccess Singe Page Redirect Redirect 301 /old/oldpage.htm /new/http://www.domain.com/newpage.htm Apache .htaccess Canonical Redirect Options +FollowSymlinks RewriteEngine on [...]&lt;img src=&quot;http://www1.feedsky.com/t1/608897102/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608897102/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>.htaccess文件</category><category>wordpress</category><pubDate>Thu, 23 Feb 2012 10:49:02 +0800</pubDate><author>风影</author><comments>http://linhun.com/1431.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1431</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1431.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608897102/5615279</fs:itemid></item><item><title>WordPress添加特色图功能</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221402/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1425.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>WordPress升级到3.3以后，就有了许多特色功能，其中特色图功能非常不错。 下面来说一下如何使用它。 在默认的设置中，特色图功能并没有开启，所以我们首先要开启它。 在Functions.php中输入以下代码： add_theme_support( 'post-thumbnails' ); 然后在home.php或者index.php的适当位置输入以下代码： &amp;#60;?php if ( has_post_thumbnail() ) { ?&amp;#62; &amp;#60;?php the_post_thumbnail(); ?&amp;#62; &amp;#60;?php } else {?&amp;#62; &amp;#60;img src=&quot;&amp;#60;?php bloginfo('template_url'); ?&amp;#62;/images/xxx.jpg&quot; /&amp;#62; &amp;#60;?php } ?&amp;#62; 最后，设置好CSS，控制好输出字符数。大功搞成！&lt;img src=&quot;http://www1.feedsky.com/t1/608221402/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221402/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>wordpress</category><category>wordpress技术</category><pubDate>Tue, 07 Feb 2012 10:02:28 +0800</pubDate><author>风影</author><comments>http://linhun.com/1425.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1425</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1425.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221402/5615279</fs:itemid></item><item><title>wordpress搬家换空间商后，如何批量替换网站地址</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221403/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1415.html/feed</wfw:commentRss><slash:comments>4</slash:comments><description>使用wordpress一段时间后，难免会有搬家的问题。换了空间后，网站的安装地址以及图片地址都会变动。如何才能批量替换呢？ 下面介绍几种方法： 一.使用myphpadmin进入数据库后台 修改这几个字段的值： 表wp_options里面的option_value（安装地址） 表wp_posts里面的post_content (文章内容) 表wp_posts里面的pinged (ping内容) 表wp_posts里面的guid (WordPress默认链接结构) 表wp_comments里面的comment_author_url (留言作者URL地址 ) 下面直接使用sql语句批量替换(新域名new 旧域名old) 1.UPDATE wp_posts SET post_content = REPLACE(post_content,'http://www.olddomain.com','http://www.newdomain.com'); 2.UPDATE wp_options SET option_value = REPLACE(option_value, 'http://www.olddomain.com','http://www.newdomain.com'); 3.UPDATE wp_posts SET guid = REPLACE(guid,'http://www.olddomain.com','http://www.newdomain.com'); 4.UPDATE wp_posts SET pinged = REPLACE(pinged,'http://www.olddomain.com','http://www.newdomain.com'); 5.UPDATE wp_comments SET comment_author_url = REPLACE(comment_author_url,'http://www.olddomain.com','http://www.newdomain.com');&lt;img src=&quot;http://www1.feedsky.com/t1/608221403/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221403/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>wordpress</category><category>wordpress技术</category><pubDate>Tue, 17 Jan 2012 22:10:34 +0800</pubDate><author>风影</author><comments>http://linhun.com/1415.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1415</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1415.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221403/5615279</fs:itemid></item><item><title>网易163邮箱的垃圾广告真多</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221404/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1413.html/feed</wfw:commentRss><slash:comments>3</slash:comments><description>每次使用163邮箱，都会有弹出广告，而且那弹出广告右上角的X是个陷阱。越点越多，必须点网页关闭的X。 作为国内使用人群最多的邮箱之一，网易越做越垃圾了。Gmail和Yahoo在国内的速度又太慢。Hotmail也不方便。新浪邮箱更是垃圾，卡得要死。 QQ邮箱速度不错，但不太正式，且群广告太多。用来用去，国内也只有网易的了。&lt;img src=&quot;http://www1.feedsky.com/t1/608221404/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221404/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>站长收藏</category><pubDate>Mon, 26 Dec 2011 15:50:11 +0800</pubDate><author>风影</author><comments>http://linhun.com/1413.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1413</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1413.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221404/5615279</fs:itemid></item><item><title>百度真是不厚道啊！</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221405/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1410.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>博客一直以来使用的是衡天小张的主机。由于一些原因，前段时间空间发生问题，连续一，二天没打开。结果，百度把博客K得只剩6页了。 原因主要是，在转移空间时，衡天放了一个提醒页面，结果，这个页面就被百度收录了，结果就杯具了。 相反，google这方面就比较好，即使几天打不开网站，收录方面也没有减少多少。 中文站靠得是百度，可惜百度太高大了。万幸的是小影主要做英文站，并不靠它吃饭- -&lt;img src=&quot;http://www1.feedsky.com/t1/608221405/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221405/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>心情随笔</category><pubDate>Mon, 26 Dec 2011 00:27:14 +0800</pubDate><author>风影</author><comments>http://linhun.com/1410.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1410</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1410.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221405/5615279</fs:itemid></item><item><title>Firefox的Seo插件-seoquake</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221406/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1405.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>今天，小影向大家介绍二款Firefox的seo插件，功能非常强大。 一.seoquake 这款插件是我最喜欢的seo插件，能显示出当前网站的各种信息（alexa排名，评分，以及pr) 这二张图在一列上的，功能很奇全吧。 二.searchstatu 功能差不多。我就不截图了。&lt;img src=&quot;http://www1.feedsky.com/t1/608221406/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221406/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>seo</category><category>资源共享</category><pubDate>Fri, 23 Dec 2011 21:17:24 +0800</pubDate><author>风影</author><comments>http://linhun.com/1405.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1405</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1405.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221406/5615279</fs:itemid></item><item><title>使用网站主机的一些感想</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221407/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1403.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>小影几年来，使用了许多美国空间，有了一些心得体会。 首先，肯定的是，好空间不会便宜，便宜的空间不可能好。 其次，个人空间，包括淘宝上购买的，就比如200元以下的，只适合新手学习用。如果只是学习wordpress，100元的空间就绰绰有余。 但如果你是用来赚钱的，100元的空间，绝对是浪费时间。就算一个月，当机个几次，就有得你忙了。 推荐新手朋友使用棉花糖主机：http://www.sugarhosts.com 这款主机，速度很OK，而且使用主流CP面板。小影选得是凤凰城的机房。 这款主机，有个最大的亮点，可以一键安装wordpress。在安装wp前，必须先确保你的域名已经解析到空间地址了。&lt;img src=&quot;http://www1.feedsky.com/t1/608221407/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221407/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>心情随笔</category><category>国外空间</category><pubDate>Fri, 23 Dec 2011 12:19:10 +0800</pubDate><author>风影</author><comments>http://linhun.com/1403.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1403</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1403.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221407/5615279</fs:itemid></item><item><title>博客换到韩国空间后，速度快了许多</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221408/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1399.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>灵魂博客一直使用的是衡天小张的主机。这几天，由于大陆博客受攻击次数太多，国外服务商果断停止了大陆主机的dns服务。为了更好的服务客户，小张把一些博客，迁移到了韩国主机上面。 博客的速度一下子快了许多。小影我还是觉得，如果英文站就用国外主机，国内博客还是用国内的或者亚洲的主机为好。速度的差距不是一点点。 对于搜索引擎来说，速度快的站点，有利于seo，能更快的收录，排名也会受到影响。&lt;img src=&quot;http://www1.feedsky.com/t1/608221408/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221408/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>心情随笔</category><category>国外空间</category><pubDate>Thu, 22 Dec 2011 20:18:52 +0800</pubDate><author>风影</author><comments>http://linhun.com/1399.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1399</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1399.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221408/5615279</fs:itemid></item><item><title>Godaddy2011年12月到2012年优惠码，无限期</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221409/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1397.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>因为一直不能及时找到Godaddy的优惠码，所以今天特意去搜集了一下。 Godaddy2011年11月优惠码，Godaddy2011年12月优惠码，Godaddy2012年1月优惠码 因为是不限期的，所以说Godaddy2011年12月优惠码，Godaddy2012年优惠码都不为过，拿去用吧： 优惠码 优惠内容 使用条件 优惠状态 iapdom3 $7.49 适用于.COM 正常 iapdom6 $7.49 适用于.COM 正常 iapdom24 $7.49 适用于.COM 正常 iapdom25 $7.49 适用于.COM 正常 iapdom29 $7.49 适用于.COM 正常 iapdom45 $7.49 适用于.COM 正常 poster412 $7.48 适用于.COM/支持续费 正常 Wallet412 $7.48 适用于.COM/支持续费 正常 goaz2001bq $7.49 适用于.COM 正常 iapind3 $7.49 适用于.COM,.in $7.99 正常 cjc749dom $7.49 适用于.COM 正常 cjc695dom $7.49 适用于.COM [...]&lt;img src=&quot;http://www1.feedsky.com/t1/608221409/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221409/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>godaddy优惠码</category><category>Godaddy</category><pubDate>Sun, 18 Dec 2011 14:36:11 +0800</pubDate><author>风影</author><comments>http://linhun.com/1397.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1397</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1397.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221409/5615279</fs:itemid></item><item><title>2011年12月份Godaddy的1美元优惠码</title><link>http://item.feedsky.com/~feedsky/linhun/~8022672/608221410/5615279/1/item.html</link><wfw:commentRss>http://linhun.com/1394.html/feed</wfw:commentRss><slash:comments>1</slash:comments><description>刚过了黑色星期五godaddy又出新优惠。 2011年12月1日又出现了Godaddy 1美元优惠码 活动详情： 1、com域名1美元优惠码：GETFIT 2、仅限前10000名注册用户 3、截至日期2012年1月31日（美国时间) 4、仅限信用卡注册，1个账户只能注册一个。 注册链接（传送门）：www.godaddy.com 喜欢的赶紧注册吧！&lt;img src=&quot;http://www1.feedsky.com/t1/608221410/linhun/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/linhun/~8022672/608221410/5615279/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>godaddy优惠码</category><category>godaddy域名</category><category>Godaddy</category><pubDate>Sat, 17 Dec 2011 15:51:39 +0800</pubDate><author>风影</author><comments>http://linhun.com/1394.html#comments</comments><guid isPermaLink="false">http://linhun.com/?p=1394</guid><dc:creator>风影</dc:creator><fs:srclink>http://linhun.com/1394.html</fs:srclink><fs:srcfeed>http://linhun.com/feed</fs:srcfeed><fs:itemid>feedsky/linhun/~8022672/608221410/5615279</fs:itemid></item></channel></rss>
