Post_id和PostName

On 2010-05-23, in 手记, by David

从原来的wordpress迁入Wordpress mu时候,将这个站点从Post_id改为PostName的链接方式。

由于我的大部分浏览量来自搜索引擎,导致到今天为止,每天浏览量都在原来的30%左右。

没有办法,从PostName继续回到Post_id。

Tagged with:
 

WordPress 迁移到 WordPress MU

On 2010-05-03, in 手记, by David

最近将部分小的博客站从分散的WordPress,迁入到统一的WordPress MU中,内文为我采用的迁移方式。

Continue reading »

Tagged with:
 

升级到2.9

On 2009-12-20, in 手记, by David

WordPress 2.9发布,顺手就把一堆的博客都升级了。

由于虚拟空间的内存限制问题,我都是直接采用文件覆盖的方式升级。

wget http://wordpress.org/latest.zip

unzip latest.zip

cd wordpress

cp –r * ../blog目录/

Tagged with:
 

WordPress 中文站点发布

On 2008-12-12, in 新闻, by David

伴随着最新的WordPress 2.7的发布,WordPress同时推出了中文官方站点

当然还有对中国普通用户来说非常重要的官方中文版本

Tagged with:
 

当你升级Wordpress 到2.6后,老的WP-DownloadManager 1.1就需要升级到1.31版本。而当你升级完Wordpress 2.6和WP-DownloadManager 1.31后发现,所有文章内的下载链接都不见了。

分析后发现,作者将原来下载链接插入文章的代码修改了,导致该问题。原代码[download=1],修改为[download id="1"],新版本增加了多个下载文件单个插入代码功能.例如:[download id="1,2,3"]。

修正该问题,需要使用mysql的SQL命令,你可以选择登陆到服务器或使用phpmyadmin(如果服务器上有的话)来执行。

运行如下两个SQL命令:

UPDATE wp_posts SET post_content=REPLACE(post_content,’[download=','[download id="');

UPDATE wp_posts SET post_content=REPLACE(post_content,']‘,’”]’);

如果你修改过表的前缀,请将wp修改为你修改后的前缀。

运行后,无错误即可。

Tagged with:
 

WordPress 2.6(Tyner) 发布

On 2008-07-16, in 新闻, by David

wordpress

下载地址:http://wordpress.org/download/

新特性:

  1. 文章版本管理,提供版本跟踪和编辑历史
  2. 一键发表功能,提供快速发表文章的浏览器工具栏快捷方式
  3. 整合Gears
  4. 主题预览

其他改进:

  • 字数统计
  • 图片标题
  • 插件管理改进
  • 焕然一新的图片控制
  • 自定义默认头像
  • 增加上传界面全屏方式支持
  • 默认关闭远程发布,可开启
  • 完全支持SSL
  • 可以自命名wp-config 和 wp-content
  • 修正194个错误

升级步骤和之前的升级步骤相同。

Tagged with:
 

WordPress 漏洞扫描插件

On 2008-06-29, in 手记, by David

exploit-scanner

这个插件能对你wordpress站点的文件和数据库进行扫描,并发现文件或数据库的可疑行为。

Continue reading »

Tagged with:
 

WordPress 2.6 Beta 1发布

On 2008-06-25, in 手记, by David

下载链接: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.
  • The ability to relocate your content directory
  • The ability to move wp-config.php out of your web root
  • Drag-and-drop sortable galleries
  • Customizable default avatars
  • Bulk delete, activate, and deactivate for plugins
  • Check box range selection with shift-click
  • TinyMCE 3.1.0.1 with lots of bug fixes
  • jQuery 1.2.6 with some nice performance improvements
  • jQuery UI 1.5
  • Lots of bug fixes and performance improvements 
  •  

    Tagged with:
     

    放弃Bad Behavior

    On 2008-02-26, in 涂鸦, by David

    最近发现FeedSky的RSS读取一直出错。结果经过检查发现是由于:Bad Behavior  造成。

    郁闷,立即放弃它,当然其实可以将FeedSky加入白名单就可以。

    寻找下一个发垃圾评论插件中。。。。

    Tagged with:
     

    升级系统

    On 2008-02-17, in 涂鸦, by David

    将it580.com的所有blog站点程序(WordPress)升级到2.3.3.

    增加了新的反垃圾评论Bad Behavior,测试该系统中。

    Tagged with:
     
    Blog WebMastered by All in One Webmaster.