After upgrading to 2.6, clicking on a Post Title brings me to the 404. I tried rebuilding the permalinks, which regenerated my .htaccess file, but it is still broken. Static pages and single posts all bring up the 404. The only page that works correctly is the main index. Please help and thanks!
Edit: I even tried disabling all my plugins, but that did not help.
When setting the permalinks to the “default” – site.com/?p=123 it works. Then I set it back to the custom structure: /index.php/%year%/%monthnum%/%day%/%postname%/ and it breaks again. I really would like to have the custom structure working; Google has my site indexed as such. Can anyone help?
3. Set permalinks to “Custom Structure” of your choice and Save it.
(Mine is: /index.php/%year%/%monthnum%/%day%/%postname%/)
4. The above fixed it, but I saw some weird errors at the top of each of my pages pointing to wp-includes/plugin.php – so I added a hack: error_reporting(0); (put this at the top, just below the opening <?php tag.
Otto, my problem wasn’t with the .php. I also upgraded the other day and everything seemed to be fine for a while…except my categories, which were missing. It seemed as soon as I fixed the categories (using this fix), my permalinks broke. It worked briefly in conjunction with the Permalinks Redirect button, but when I started to try and clean up (like, replacing the small htaccess file with the complete one), everything broke again. I tried kworthington’s fix, but that didn’t work either. Please help.
I recently upgraded to WP 2.6.1 and this fix doesnt work at all… when i upload the file, all goes wrong and i cant actualize the settings. So when i upload the original file “rewrite.php” all goes normal and not functional.