Pages broken after wordpress 2.5.1 upgrade
Apparently the Wordpress 2.5.1 upgrade last week did not went smooth as what I initially thought. I missed testing my wordpress pages (not post) above such author, contact form. If you notice, all pages were broken. It’ll direct me to 404 page. I only came across to this issue when I trying to add top post and archive page. It works on preview but not when it get published
Root cause?
It seems like this is related to permalink , not related to what so ever plugin. Upon checking on Wordpress forum, it has been reported since version 2.5, but similar issue is still there. If I modify back the permalink structure to default setup, or using resolution (a) below, the pages are accessible.
Resolution
a) for normal or ‘pretty’ permalink (most of us use this)
Simply change your permalink to /%postname%/ or use default structure . It works in this blog, but I prefer to to stay with current permalink /%year%/%monthnum%/%day%/%postname%/ since all my contents were indexed this way by search engine. I worried that Google will see this as broken link, even though I have Permalink Redirect plugin installed. Hopefully I manage to find the permanent fix soon
b) For PATHINFO permalink structure
This is for those who using Apache running on Windows or those that permalink structure beginning with index.php E.g /index.php/%postname%/ .Download new rewrite.php from here, and replace the current file at your /wp-include directory. You can find the discussion’s thread here.
Looks like I had to live with broken pages at least for now, for the sake of permalink and the contents indexed by search engines. Since I don’t have any contact form, should you have any inquiry, just leave it at any comment section, or shoot me an email to zakifahmi at gmail dot com
Learn more about permalink from this page. Heck, I waste a lot of time to figure out this fix since last night, but at least I learn a lot of things. Fair enough!!
Related Posts
- How to fix wordpress page problem after 2.5.1 upgrade
- Wordpress 2.6 scheduled for release July 2008
- New version, new theme
- what is interesting this week (July 31th 2007)
- Wordpress 2.6 released
- April 08 round up post
- Blogjer is now powered by wordpress 2.5.1
- Wordpress theme - Pertama
- Official Kontera wordpress plugin
- UBD Block Ad Plugin - display and rotate your block ads

i am using the same type of permalinks for my azwanhadzree.com, looks like i might face the same issue. my kids is using /%postname%/ and the other blog is also the same, tu sebab takde masalah kut
anyway, i will have to test first before i proceed
am pun dapat masalah yang sama… dan dia selalu confilct dengan plugin… deactive all plugin… dan activate satu2 dan refresh page..
sekali activate sekali refresh.. nanti taulah plugin mana yang kacau tu…
Ok, I’ll try this, hope it works
I think this is already fixed in new version or isn’t ? :S
WordPress is an adorable platform to work with but every round of updates give me this bad vibe. Half of me says that I should not upgrade but the other half does not want to belong to the ‘outdated’ lot. I use WPAU for upgrade, it seems ok on the front end but I am not sure if it screws or breaks any back end files. Hopefully not.
I just wish WordPress to be a machine that magically upgrades itself every time…
It does not have any issue except this one.
Perhaps 1 day, when Matt has free time to figure this out
Hi Zaki,
Sorry to hear about the challenge that you encounter.
How about tweaking your .htaccess file.
I’m not sure if it can fix the problem but it worths a try.
All the best!
Thanks man. While looking for this error, I found something else, that I once ,looking at but didn’t found it
And what’s that?
Not that interesting la, I found plugin which allow me to put php script in the post
Could this be your htaccess? I had a similar problem myself.
Yeah, most probably yes. I’d tried few suggested fixes in the Wordpress forum with no luck
Btw, has your prob resolved? Mine hasn’t
Hi, are you upgrading to 2.5 or 2.5.1?
I’ve upgraded cikguazleen.com to 2.5 and faced same problem as yours.. I’ve fixed it with help from some blogs.. I’ve wrote about it: http://www.cikguazleen.com/index.php/blogging-guide/2008/05/bagaimana-upgrade-blog-ke-versi-terkini-siri-4.html and the issue is settled. My pages has made it come back to the internet
I’ve installed kelasenglish.com with 2.5.1 and there is no such problem..
Thanks cikgu, but I don’t want to add index.php to my permalink.
Btw, I’m upgrading from 2.2 to 2.5.1
where is my comment? Did I miss something?
cikgu, i flag first time commentator
If you change the permalink structure you need to do 301 redirects otherwise you will lose visitors from search engine and if I’m not mistaken there’s some sort of penalty from Google in term of PR. Google treats the old links as broken links. The good thing about this 301 redirects is it carries all PR and all link juices from previous link to the new one. Please bear in mind, it takes couple of week before everything starts to propogate, I mean thing related to PR etc, the redirect definitely happens right away.
You can either plunge yourself into htacess to fix this problem or you can use wordpress plugins to fix this problem. I chose the latter since I don’t know how to do it manually.
There are 2 plugins that you need to install to fix the problem .
1. Permalink migration ( http://www.deanlee.cn/wordpress/permalinks-migration-plugin/ )
2. Permalink Redirect ( http://scott.yang.id.au/code/permalink-redirect/ )
I think Permalink Redirect plugin all alone can do the job but I activated both. I hope these plugins help.
I have permalink redirect installed, but no permalink migration. Thanks for the idea
[...] This is pretty simple. Upgrade your version to wordpress 2.6, and that’s fix your problem. I wrote about this issue before and apparently it was fixed once it upgraded without I noticing that it has [...]