<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wordpress on 空想枫</title>
    <link>http://it580.com/tags/wordpress/</link>
    <description>Recent content in Wordpress on 空想枫</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&amp;copy; 2001-2020 空想枫</copyright>
    <lastBuildDate>Sat, 07 Jul 2018 09:34:40 +0800</lastBuildDate>
    
	<atom:link href="http://it580.com/tags/wordpress/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>保留WordPress原有基于ID的URL</title>
      <link>http://it580.com/keep-wordpress-id-url/</link>
      <pubDate>Sat, 07 Jul 2018 09:34:40 +0800</pubDate>
      
      <guid>http://it580.com/keep-wordpress-id-url/</guid>
      <description>从WordPress切换到Hugo后，如果你原先使用了基于id的URL并已经被各搜索引擎收录。为了使切换后的文章可以继续通过原url被访问，可以做如下处理。
将各文章的(content下的后缀为.md文件):
id: xx ，替换为 aliases: xx # xx 为 wordpress 文章id。  参考资料: URL Management</description>
    </item>
    
    <item>
      <title>Wordpress to Hexo或Hugo</title>
      <link>http://it580.com/wordpress-to-hugo/</link>
      <pubDate>Sat, 30 Jun 2018 14:44:23 +0800</pubDate>
      
      <guid>http://it580.com/wordpress-to-hugo/</guid>
      <description>Wordpress 预处理 导出 访问你的Wordpress WEB管理后台， 访问 &amp;ldquo;Tools&amp;rdquo; → &amp;ldquo;Export&amp;rdquo; → &amp;ldquo;WordPress&amp;rdquo; ，将整站导出，你的浏览器将自动下载xml文件，请将该下载文件保存到本地指定地点。
评论处理 使用 Disqus 进行评论管理。请先去官网开通帐号并增加现有博客网站。 在wordpress后台安装Disqus的官方插件，设置完配置信息，启动插件的自动同步功能，将网站现有评论同步到Disqus上。 如果评论量非常大的话，推荐使用wordpress后台导出评论功能，再去Disqus官网进行导入。
迁移过程 迁移Wordpress 因为开始考虑是迁移到Hexo，因此使用了Hexo的Wordpress导入程序。
Hexo 安装并建立一个新网站 需要依赖Node.js Git ,如果你的本地电脑未安装，请先安装。
npm install -g hexo-cli hexo init blog #blog为网站目录名 cd blog npm install  Wordpress 迁移到 Hexo 使用 Hexo 迁移工具 npm install hexo-migrator-wordpress --save hexo migrate wordpress ~/Downloads/wordpress.xml # ~/Downloads/wordpress.xml为上一步下载文件。  执行完这两步后，你应该在blog目录下的source/下看到所有文章文件，后缀为md。
Wordpress 文章图片迁移 文章配图也需要迁移，否则网站文章内的配图将全部失效。 将配图迁移到七牛云(免费存储10G) 官网价格说明 注册链接
我直接从网站服务器将相关文件传输到七牛云，如果你没有网站服务器的ssh权限，也可以将目录下载到本地后再上传到七牛云。 登入你的网站服务器后，执行如下命令：
wget http://devtools.qiniu.com/qshell-v2.1.9.zip unzip qshell-v2.1.9.zip  在七牛云注册后，访问密钥管理-七牛云 可以获得下行需执行命令提到的AccessKey/SecretKey</description>
    </item>
    
    <item>
      <title>从Live Space转到自建WordPress指南</title>
      <link>http://it580.com/e4-bb-8elive-space-e8-bd-ac-e5-88-b0-e8-87-aa-e5-bb-bawordpress-e6-8c-87-e5-8d-97/</link>
      <pubDate>Tue, 28 Sep 2010 17:02:42 +0000</pubDate>
      
      <guid>http://it580.com/e4-bb-8elive-space-e8-bd-ac-e5-88-b0-e8-87-aa-e5-bb-bawordpress-e6-8c-87-e5-8d-97/</guid>
      <description>微软将关闭Live Space服务，还限定了时间，虽然微软提供转换到WordPress.com的服务，但是由于Wordpress.com在国内经常被墙。还是建议大家转换到自建的WordPress。(今天刚把一个朋友的Live Space转到it580.com) 最简单方法:
 使用官方转换，转换到wordpress.com。 从wordpress.com导出数据。 在自建wordpress导入数据。  </description>
    </item>
    
    <item>
      <title>Post_id和PostName</title>
      <link>http://it580.com/e4-bb-8epost-id-e5-88-b0postname/</link>
      <pubDate>Sun, 23 May 2010 00:14:14 +0000</pubDate>
      
      <guid>http://it580.com/e4-bb-8epost-id-e5-88-b0postname/</guid>
      <description>从原来的wordpress迁入Wordpress mu时候，将这个站点从Post_id改为PostName的链接方式。 由于我的大部分浏览量来自搜索引擎，导致到今天为止，每天浏览量都在原来的30%左右。 没有办法，从PostName继续回到Post_id。</description>
    </item>
    
    <item>
      <title>WordPress 迁移到 WordPress MU</title>
      <link>http://it580.com/wordpress-e8-bf-81-e7-a7-bb-e5-88-b0-wordpress-mu/</link>
      <pubDate>Mon, 03 May 2010 16:46:14 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-e8-bf-81-e7-a7-bb-e5-88-b0-wordpress-mu/</guid>
      <description>最近将部分小的博客站从分散的WordPress，迁入到统一的WordPress MU中,内文为我采用的迁移方式。
由于我希望保留原有各个分散WordPress的域名，因此首先要将it580.com的泛域名解析指向新的空间。在it580.com上安装完成WordPress MU，并使用子域名方式。
在WordPress MU上新建博客，例如hz1.it580.com，并记下它的Blog id。
从原博客，例如hz.it580.com，使用导出功能，导出.xml文件。
到新的博客，例如hz1.it580.com，使用导入功能，导入刚才导出的文件，记得勾选导入附件。
到mysql命令行界面，当然你也可以使用phpmyadmin，执行如下命令:
 use wordpressmu; update wp_2_posts set guid=REPLACE(guid,&amp;lsquo;http://hz1.it580.com&#39;,&#39;http://hz.it580.com&#39;);
update wp_2_posts set post_content=REPLACE(post_content,&amp;lsquo;http://hz1.it580.com&#39;,&#39;http://hz.it580.com&#39;);
 注释1:wordpressmu为你安装时设置的数据库，命令中数据表名中的2为blog id，请替换为你的blog id。
删除hz.it580.com的域名解析A记录。
登录WordPress MU的管理后台，将hz1.it580.com 博客地址修改为 hz.it580.com 。
等域名解析广播完成后，网站迁移完成。</description>
    </item>
    
    <item>
      <title>升级到2.9</title>
      <link>http://it580.com/e5-8d-87-e7-ba-a7-e5-88-b02-9/</link>
      <pubDate>Sun, 20 Dec 2009 22:12:35 +0000</pubDate>
      
      <guid>http://it580.com/e5-8d-87-e7-ba-a7-e5-88-b02-9/</guid>
      <description>WordPress 2.9发布，顺手就把一堆的博客都升级了。
由于虚拟空间的内存限制问题，我都是直接采用文件覆盖的方式升级。
 wget http://wordpress.org/latest.zip
unzip latest.zip
cd wordpress
cp –r * ../blog目录/
 </description>
    </item>
    
    <item>
      <title>WordPress 中文站点发布</title>
      <link>http://it580.com/wordpress-e4-b8-ad-e6-96-87-e7-ab-99-e7-82-b9-e5-8f-91-e5-b8-83/</link>
      <pubDate>Fri, 12 Dec 2008 13:29:10 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-e4-b8-ad-e6-96-87-e7-ab-99-e7-82-b9-e5-8f-91-e5-b8-83/</guid>
      <description>伴随着最新的WordPress 2.7的发布，WordPress同时推出了中文官方站点。
当然还有对中国普通用户来说非常重要的官方中文版本。</description>
    </item>
    
    <item>
      <title>WP-DownloadManager 1.31文章下载链接修正</title>
      <link>http://it580.com/wp-downloadmanager-131-e6-96-87-e7-ab-a0-e4-b8-8b-e8-bd-bd-e9-93-be-e6-8e-a5-e4-bf-ae-e6-ad-a3/</link>
      <pubDate>Mon, 28 Jul 2008 22:00:19 +0000</pubDate>
      
      <guid>http://it580.com/wp-downloadmanager-131-e6-96-87-e7-ab-a0-e4-b8-8b-e8-bd-bd-e9-93-be-e6-8e-a5-e4-bf-ae-e6-ad-a3/</guid>
      <description>当你升级Wordpress 到2.6后,老的WP-DownloadManager 1.1就需要升级到1.31版本。而当你升级完Wordpress 2.6和WP-DownloadManager 1.31后发现，所有文章内的下载链接都不见了。 分析后发现，作者将原来下载链接插入文章的代码修改了,导致该问题。原代码[download=1]，修改为[download id=&amp;ldquo;1&amp;rdquo;],新版本增加了多个下载文件单个插入代码功能.例如:[download id=&amp;ldquo;1,2,3&amp;rdquo;]。 修正该问题,需要使用mysql的SQL命令,你可以选择登陆到服务器或使用phpmyadmin(如果服务器上有的话)来执行。 运行如下两个SQL命令:
 UPDATE wp_posts SET post_content=REPLACE(post_content,&amp;rsquo;[download=&amp;lsquo;,&amp;rsquo;[download id=&amp;ldquo;&amp;lsquo;); UPDATE wp_posts SET post_content=REPLACE(post_content,&amp;rsquo;]&amp;rsquo;,&amp;lsquo;&amp;rdquo;]&amp;rsquo;);
 如果你修改过表的前缀，请将wp修改为你修改后的前缀。 运行后，无错误即可。</description>
    </item>
    
    <item>
      <title>Wordpress 2.6(Tyner) 发布</title>
      <link>http://it580.com/wordpress-26tyner-e5-8f-91-e5-b8-83/</link>
      <pubDate>Wed, 16 Jul 2008 13:04:02 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-26tyner-e5-8f-91-e5-b8-83/</guid>
      <description>下载地址:http://wordpress.org/download/
新特性:
 文章版本管理,提供版本跟踪和编辑历史 一键发表功能,提供快速发表文章的浏览器工具栏快捷方式 整合Gears 主题预览  其他改进:
 字数统计 图片标题 插件管理改进 焕然一新的图片控制 自定义默认头像 增加上传界面全屏方式支持 默认关闭远程发布,可开启 完全支持SSL 可以自命名wp-config 和 wp-content 修正194个错误  升级步骤和之前的升级步骤相同。</description>
    </item>
    
    <item>
      <title>WordPress 漏洞扫描插件</title>
      <link>http://it580.com/wordpress-e6-bc-8f-e6-b4-9e-e6-89-ab-e6-8f-8f-e6-8f-92-e4-bb-b6/</link>
      <pubDate>Sun, 29 Jun 2008 14:21:17 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-e6-bc-8f-e6-b4-9e-e6-89-ab-e6-8f-8f-e6-8f-92-e4-bb-b6/</guid>
      <description>这个插件能对你wordpress站点的文件和数据库进行扫描,并发现文件或数据库的可疑行为。
安装:
1.下载并解压缩该文件。
2.上传exploit-scanner目录到你服务器的plugin目录。
3.访问你的后台Plugins管理页面，激活这个插件。
4.可以在Dashboard看到一个新的菜单项&amp;rdquo;Exploit Scanner&amp;rdquo;。
注意:扫描你的站点需要一定的时间，因此请在你的站点服务器比较空闲时使用。
下载链接:exploit-scanner.0.1.zip
(md5:6a88a18a37c4add7dabd72fc97be13b6)</description>
    </item>
    
    <item>
      <title>WordPress 2.6 Beta 1发布</title>
      <link>http://it580.com/wordpress-26-beta-1-e5-8f-91-e5-b8-83/</link>
      <pubDate>Wed, 25 Jun 2008 10:22:32 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-26-beta-1-e5-8f-91-e5-b8-83/</guid>
      <description>下载链接：wordpress 2.6 beta 1 改进列表：* Post Revisioning * A “Press This” bookmarklet for tumblelog style quick posting * Caching of static files with Gears for faster Admin page loads * A new and improved image editing dialog that offers lots of control over the images in your posts * Theme previewing as seen on WordPress.com * Built-in word counting in the post editor * The ability to disable remote publishing for the security conscious * XML-RPC API for changing blog options * Better SSL support for the Admin * Hierarchy-aware paging in the Manage Pages and Manage Categories admin pages.</description>
    </item>
    
    <item>
      <title>放弃Bad Behavior</title>
      <link>http://it580.com/e6-94-be-e5-bc-83bad-behavior/</link>
      <pubDate>Tue, 26 Feb 2008 17:22:08 +0000</pubDate>
      
      <guid>http://it580.com/e6-94-be-e5-bc-83bad-behavior/</guid>
      <description>最近发现FeedSky的RSS读取一直出错。结果经过检查发现是由于:Bad Behavior 造成。
郁闷，立即放弃它，当然其实可以将FeedSky加入白名单就可以。 寻找下一个发垃圾评论插件中。。。。</description>
    </item>
    
    <item>
      <title>升级系统</title>
      <link>http://it580.com/e5-8d-87-e7-ba-a7-e7-b3-bb-e7-bb-9f/</link>
      <pubDate>Sun, 17 Feb 2008 17:19:41 +0000</pubDate>
      
      <guid>http://it580.com/e5-8d-87-e7-ba-a7-e7-b3-bb-e7-bb-9f/</guid>
      <description>将it580.com的所有blog站点程序(Wordpress)升级到2.3.3. 增加了新的反垃圾评论Bad Behavior，测试该系统中。</description>
    </item>
    
    <item>
      <title>WordPress 2.3 Beta 1需要测试者</title>
      <link>http://it580.com/wordpress-23-b1-e9-9c-80-e8-a6-81-e6-b5-8b-e8-af-95-e8-80-85/</link>
      <pubDate>Sun, 02 Sep 2007 23:11:54 +0000</pubDate>
      
      <guid>http://it580.com/wordpress-23-b1-e9-9c-80-e8-a6-81-e6-b5-8b-e8-af-95-e8-80-85/</guid>
      <description>WordPress 发布了 2.3 Beta 1版本,目前了解到的功能改进:内置了Tags支持,更快速的js,搜索引擎友好的地址格式. 目前他们正在寻找更多的测试人员.有兴趣的可以访问: 加入WordPress测试者邮件列表.想要下载WordPress 2.3 Beta 1可以访问:WordPress 2.3 Beta 1下载.</description>
    </item>
    
    <item>
      <title>WordPress2.2.1的新漏洞</title>
      <link>http://it580.com/wordpress221-e7-9a-84-e6-96-b0-e6-bc-8f-e6-b4-9e/</link>
      <pubDate>Thu, 02 Aug 2007 11:05:03 +0000</pubDate>
      
      <guid>http://it580.com/wordpress221-e7-9a-84-e6-96-b0-e6-bc-8f-e6-b4-9e/</guid>
      <description>31日有人发布了七个相关的漏洞,原始页面:Wordpress ZeroDay Vulnerability Roundhouse Kick and why I nearly wrote the first Blog Worm (updated) ~ mybeNi websecurity。已经被wordpress的Trac收录。 大家可以看发布者的另一个文章，比较好玩. This is the first Weblog XSS Worm It uses the Security vulnerabilities in the latest Wordpress Version (2.2.1) to get into your blog and help you patching the Security flaws! Everything based on Cross-Site Scripting and Cross-Site Request Forgery *_! ,晕倒。</description>
    </item>
    
    <item>
      <title>更换反垃圾评论插件</title>
      <link>http://it580.com/e6-9b-b4-e6-8d-a2-e5-8f-8d-e5-9e-83-e5-9c-be-e8-af-84-e8-ae-ba-e6-8f-92-e4-bb-b6/</link>
      <pubDate>Wed, 11 Jul 2007 15:14:04 +0000</pubDate>
      
      <guid>http://it580.com/e6-9b-b4-e6-8d-a2-e5-8f-8d-e5-9e-83-e5-9c-be-e8-af-84-e8-ae-ba-e6-8f-92-e4-bb-b6/</guid>
      <description>这几天服务器的php-cgi进程经常在24小时左右就死掉。
今天再次死亡的时候，和Real JJ一起检查后，居然发现是wordpress SK2插件造成的。
由于SK2的RBL Server有一个blbl.org最近关闭，使得该地址的访问一直在等待TimeOut，最终导致php-cgi进程整个死锁。
 该问题可以通过在数据库中删除type 为 rbl_server，值为blbl.org相关的记录解决。
 我是火大，不用这个插件了。更换为Math Comment Spam Protection。
也省的评论表一直增大增大，看了就郁闷。</description>
    </item>
    
    <item>
      <title>wordpress在nginx下的rewrite设置</title>
      <link>http://it580.com/nginx-e4-b8-8bwordpress-e7-9a-84rewrite/</link>
      <pubDate>Fri, 06 Jul 2007 16:38:27 +0000</pubDate>
      
      <guid>http://it580.com/nginx-e4-b8-8bwordpress-e7-9a-84rewrite/</guid>
      <description>因为服务器迁移的问题，新的web server是nginx。 可惜nginx不支持.htaccess。因此只能自己写rewrite规则。 我的站点url，wordpress里规则使用的是 http://blog.it580.com/%post_id%/.在nginx的配置文件中，配置如下:
 location / { index index.php index.html; if (!-e $request_filename) { rewrite ^/(.+)$ /index.php?p=$1 last; } }
 修改完配置后，别忘记将nginx的服务reload 一下。^O^</description>
    </item>
    
    <item>
      <title>升级到WordPress 2.0.6</title>
      <link>http://it580.com/e5-8d-87-e7-ba-a7-e5-88-b0wordpress-206/</link>
      <pubDate>Sat, 06 Jan 2007 23:06:11 +0000</pubDate>
      
      <guid>http://it580.com/e5-8d-87-e7-ba-a7-e5-88-b0wordpress-206/</guid>
      <description>WordPress发布2.0.6,升级，升级。 受到地震影响，使用Shell访问站点都超级慢，一个升级，就8条命令，就害我搞了半个小时。。。。 键盘输入半天才显示出来，我好可怜啊。。</description>
    </item>
    
    <item>
      <title>新增两个插件</title>
      <link>http://it580.com/e6-96-b0-e5-a2-9e-e4-b8-a4-e4-b8-aa-e6-8f-92-e4-bb-b6/</link>
      <pubDate>Sun, 19 Nov 2006 17:26:38 +0000</pubDate>
      
      <guid>http://it580.com/e6-96-b0-e5-a2-9e-e4-b8-a4-e4-b8-aa-e6-8f-92-e4-bb-b6/</guid>
      <description>1.Share This
在文章后增加一个Share This链接，支持收藏到各类社会书签系统及通过Email推荐给你的朋友。
2.GetWiki
方便的从Wiki获得相关关键字的信息，并展示在帖子中。国内的主机可能会使用有问题。(因为经常无法访问Wiki)
效果如下，关于WordPress的wiki信息：
~GetWIKI(WordPress)~</description>
    </item>
    
    <item>
      <title>升级Blog程序到2</title>
      <link>http://it580.com/e5-8d-87-e7-ba-a7blog-e7-a8-8b-e5-ba-8f-e5-88-b02/</link>
      <pubDate>Mon, 02 Jan 2006 12:51:48 +0000</pubDate>
      
      <guid>http://it580.com/e5-8d-87-e7-ba-a7blog-e7-a8-8b-e5-ba-8f-e5-88-b02/</guid>
      <description>12.31日 Wordpress 发布2.0版本。 01.01日 升级本站程序到2.0 目前页面及插件都还没有修改，懒就一个字。</description>
    </item>
    
    <item>
      <title>修改TechnoTag插件</title>
      <link>http://it580.com/e4-bf-ae-e6-94-b9technotag-e6-8f-92-e4-bb-b6/</link>
      <pubDate>Wed, 07 Sep 2005 22:37:22 +0000</pubDate>
      
      <guid>http://it580.com/e4-bf-ae-e6-94-b9technotag-e6-8f-92-e4-bb-b6/</guid>
      <description>关键字:TechnoTag 插件 Wordpress Plugins
修改为符合自己和Cindy的使用习惯。</description>
    </item>
    
    <item>
      <title>升级wp到1.5.2</title>
      <link>http://it580.com/e5-8d-87-e7-ba-a7wp-e5-88-b0152/</link>
      <pubDate>Thu, 01 Sep 2005 23:54:39 +0000</pubDate>
      
      <guid>http://it580.com/e5-8d-87-e7-ba-a7wp-e5-88-b0152/</guid>
      <description>blufwolf帮本站转移服务器后，重新开通ftp服务。
最近也一直很忙，今天才有机会更新站点。 再次感谢狼狼提供的服务器空间。</description>
    </item>
    
  </channel>
</rss>