Wordpress 2.5已经出来有一段时间了,但问题不断。据说这个版本还存在约200个Bug左右,吓人吧!还好,我碰到的大多数都是小错误,属于还能忍受的级别。但有一个关于Permalink的BUG却几乎让我抓狂。
此BUG的表现如下:
当你将Wordpress博客的绝对链接地址设置成类似这样的话:
http://domain.com/index.php/%postname%
在新的2.5版本中就会出现所有页面(Page)无法浏览的错误,表现为没有内容的一片空白,而文章(Post)却完全正常。
直到前两天此BUG才被修复,现在,我的页面(Page)已经可以正常访问了。
把这件事情写个Post也许并没有什么价值,因为也许在Wordpress的下一个版本(Wp2.5.1?)中可能就会被修复了。但这件事的经历却让我体会到了网络的力量。
经过:
2008年3月31日本博客从Wp2.3.3升级到Wp2.5
发现所有页面(Page)无法访问
去Wordpress网站的支持论坛发帖寻找帮助
发现其实有很多很多人都跟我一样碰到了同样的问题
Wordpress开发团队没有给出相应的解决办法,我想他们忙于编写解决200个左右的BUG是多么的繁忙。表示理解吧。
等待,和许多人一起等待
这篇标题为Upgraded to 2.5, now pages don’t display…WTF?的帖子成为最近Installation栏目最热闹的帖子
2008年4月11日,有一位叫dlo的成员给出了解决方案
经过测试,目前所有碰到此问题的博客都已修复此BUG
感谢,很多受到帮助的博客们纷纷留言表示对dlo的感谢
互联网就应该这样,资源共享和集众人智慧为一体。
如果你也遇到同样的问题,可以下载此文件rewrite.php后,直接替换掉原来的wp-includes/rewrite.php文件。
然后进入后台,先把绝对链接地址修改成默认,并进行保存。
再把绝对链接地址修改成自定义的种类。点击保存进行重置。
OK! Wordpress 2.5关于Permalink的一个重大Bug已经修复。
update:2008年4月28日
此BUG在wordpress2.5.1中已被修复。
关键词: wordpress
I cannot read Chinese, but I think I have the same problem.
Just upgraded from Wordpress 2.3 to 2.5. Under Permalinks in WP2.3, I used Custom /%category%/%postname%/ and it worked perfectly.
Now in WP2.5, I used the same /%category%/%postname%/ and it gives me Error 404 saying /category/postname/ cannot be found.
What is the SIMPLE solution to this problem, please?
Thanks
@wpgal
Maybe you can try this.
first. download this file:rewrite.php.
second. upload the rewrite.php to folder:/wp-includes/rewrite.php. and replace the old.
third. after you upload the new rewrite.php, you have to turn your permalinks to the default, save this option, then turn on your custom permalinks and save it again. By doing so, WordPress is forced to regenerate its rewrite rules completely. And you’ll get a chance to see it working…
Hope it can help!
Best regards.
[...] 404 了。很奇怪,理论上 2.5.1 应该已经解决了 Permalink 的 bug 了呀。把 Permalink Structure [...]
不能留言?
@Leelei
可以留言啊!你这不是已经留言了吗?哈哈。