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!!
