TAG / wordpress

拖了一年,新自制主题终于上线

自从看厌了上一个自制的 Wordpress 主题以后(那是很久以前的事了),便开始了新主题的设计之旅,说要做了说要做了说要做了,依然没做出来。由于拖拉得厉害,每每做到一半就把设计推翻了。这次终于一鼓作气不务正业,把 WP 升到了 2.7,然后解决了这个心腹大患。

新的后台界面我喜欢!


关掉 Wordpress 下的 directory listing

刚才看到这篇文章,检查了下我的 Wordpress,发现也有这个问题,赶紧修改了 WP 根目录下的 .htaccess 文件,在文件最后加上如下语句:

# Prevents directory listing
Options -Indexes

重新上传,果然 Ok,所有目录访问自动转到 WP 的 404 页面,比最笨的到每个文件夹下建一个空的 index.html 的办法好使多了。


Wordpress Permalinks 出现 404 错误的解决办法

前几天在新机子上装了 WAMP,下载了 Wordpress 2.5.1,并配置好数据库,准备继续我那很久很久以前未完成的 theme。

然而,在 Settings 里改变了默认的 Permalink Structure 后,发现所有包含地址重定向的页面都 404 了。很奇怪,理论上 2.5.1 应该已经解决了 Permalink 的 bug 了呀。把 Permalink Structure 从

/%year%/%monthnum%/%postname%/

改成

/index.php/%year%/%monthnum%/%postname%/

页面都能打开了,看来应该是重定向的问题。

三上 Google,终于在这篇文章里找到了原因,果然是我本地的 WAMP 没打开 rewrite 功能,解决办法如下:

打开 Apache 的 httpd.conf 文件,搜索“mod_rewrite”,应该能找到这一行:

#LoadModule rewrite_module modules/mod_rewrite.so

把最前面的“#”删掉,重启 Apache 服务,就好了~

[ more... ]


Blog 数据丢失!

租用 BlueHost 主机一年多来,一直觉得很省心,一方面各种技术性维护工作有江东老大帮我们解决,一方面 BH 速度快、稳定、服务好(主要就是自带备份服务),所以我一直也没有给 Worpdress 安装备份插件,平时高兴了就手动备份一下。最近一直很忙,忙毕业、忙上班、忙搬家、忙逛街、忙杂七杂八的各种事,更改域名也是匆忙上阵,之前说的升级 theme 更是一拖再拖。

现在好了,数据库由于未知原因,全清空了,一张表都不剩,posts、comments 全没了。而且祸不单行,BH 那边不知从何时起已经不再提供备份服务,哈哈哈……别拉着我,让我跳下去吧!

有什么办法呢?放在网上的数据都有风险,只能怪自己太大意。现在新上传了 Wordpress 2.5,一切从头开始,慢慢来吧,我尽量把以前的 posts 和 comments 都捡回来。

Notice:RSS 地址现已改为:http://wutiam.net/feed/,烦请大家有空时更新一下 RSS 订阅以及你们 Blog 里的友链,谢谢!

[ more... ]


煎蛋’s get-together in the WordCamp Beijing 2007

It’s my first time to meet with my partners of 煎蛋 using the WCB2007 as a pretext. It’s a very happy time to talk with these guys rather than the WCB itself :p

Sofa or the Ceiling 煎蛋’s sofa? Sofa or ceiling?

Group photo of 煎蛋’s Beijing branch, we are maoz, elfox, 蛋挞 (in front) and maple, islet8, steen

Violin playing twins Violin playing twins from CCOM

For more photoes, go and see my picasa.

[ more... ]


WordCamp Beijing 2007 && Annual BlogDay 2007

I'm going to WordCamp Beijing

And I’m the 95th registrant of the meeting and will take part in it with my 煎蛋’s partners.

————

Today’s annual BlogDay (what’s it: [1] [2] [3]) and here’s 5 blogs of my favorites:

  1. 一五一十部落
  2. 子说
  3. 洪波的偏见
  4. Lifehacker
  5. Nings blog

Other recommended blogs are 煎蛋Ya,I Yee / Yee’s Blog左飞Wangjianshuo’s blog / 王建硕 ……

The worst blog is Google 黑板报.


My own WP theme goes online

I’ve made my own WordPress theme based on the WP default theme. It costed me a lot of spare time to design and code. Now the beta version comes up with a little bugs.

Some parts of sidebar will be out of position in Internet Explorer 6.0 or before. Firefox, Opera and Internet Explorer 7.0 are highly recommended.

# Update on Aug 17, 2007

Here’s screenshot.

[ more... ]


Page 1 of 11