I am having problems getting my Permalinks changed with my WordPress instance. I have about 5 blog posts which were created using the default “postid” permalinks. I am now trying to change my permalink to %postname% but I cannot get it to work. Any time I change the Permalinks in WordPress all my old posts throw 404s. I have tried 4 WordPress Permalink plugins to resolve this issue but I cannot get any of them to work. I have also updated my blog’s .htaccess file to include the necessary information. Finally I deleted all my original posts and changed the Permalink, then recreated them and it still did not work. Please help, I don’t know what else to try! Thanks
Leave a Reply
You must be logged in to post a comment.
Be sure there is only one wordpress rewrite block in .htaccess. And you may need to go into the wp_options table in the database with phpmyadmin and clear the permalink setting there. Once in a while permalink settings get “stuck” in the wp_options table and wordpress can’t write the new setting to the database, even though WP writes the changes to the .htaccess file. Database Description « WordPress Codex
Edit 3/03/10
Turned out to be mostly CentOS not playing nice with WordPress Permalinks, but there are documented fixes via Google.
Edit 3/02/10
If your .htaccess is writable and changes are being saved and you can see them, then permalink_structure field in wp_options should not be blank. Did you disable and delete all plugins relating to permalinks and start from scratch? Are you on Windows or Linux hosting?
I had the exact same issue, and it’s subtle. The apache directives need to go in a
<Directory>
container. If you are like me, you had your directive in a<Location>
container, thinking that<Location />
would cover the entire site from the root, recursively.This did the trick:
Use deans permalink migration plugin and you will easily change your permalink structure without breaking any links within a minute. This plugin is a life saver for those who are thinking of changing default permalink structure and thinking of migrating from blogspot blog to self-hosted blog.
I know this is an old thread but I ran into this issue last night. I found a post here http://www.mobiledataup.com/fix-wordpress-permalink-404-error-with-centos-6/
which was very help and fixed the probem for me.
There was an extra section that had options to turn on AllowOverride.
Worked like a charm.
Reading this article will help a lot with permissions and PHP handlers. I had some of the problems here… just thought I’d share it
http://www.itsabhik.com/how-to-increase-size-of-var-tmp-centos/