Upgraded to Wordpress version 2.6 today and unfortunately, the blog collapsed giving 404, page not found errors on every post.
The site was hosted on a wind-oze server where .htaccess was not allowed and so I used a custom permalink as in /index.php/%postname%/ as the recommended work around. This is causing the problems with Wordpress 2.6 throwing errors since the /index.php/ was “forgotten about (?).
Since I have now moved to Linux hosting and can use htaccess again I decided to abandon the workarounds and get back to htaccess and redirect from my main Wordpress directory directly to the posts and remove the /index.php/ workaround.
Wordpress say that if you have blank category base and tag base in your permalinks then setting them to anything will temporarily fix the problem until the next release. Then presumably you have to change them back.
I decided not to use anymore workarounds and so used the following to get rid of the cause and the problem itself.
First I changed the custom permalink from index.php/%postname%/ to /%postname%/ and saved it. On the permalinks page - near the bottom Wordpress then gives you the redirect code for your htaccess file. I copied that and pasted it into the .htaccess file and, guess what, it worked. All my pages are now bearing the new urls and if I use a search engine for one of my blog posts and click it, that gets redirected too, and all without the /index.php/ extra!
In the meantime Wordpress are working on release 2.6.1 to fix the problem.
Leave a reply