WordPress post revisions are your friend.

March 4, 2010

Post Revisions in WordPress

WordPress has this nifty feature where it keep copies off all the revisions to your posts. It’s handy becuase if you update an post, or have more than one person working on a post, you can go back to a previously saved version.

Sounds awesome.

So, after a little mishap this morning, I went looking for an older version of somthing I posted, only to find that I didn’t have any saved post revisions.

Bummer for me.

After scouring my WordPress settings and seeing nothing, I found this little gem.

define('WP_POST_REVISIONS', false);

in my wp-config.php.

The good people over at Dreamhost, where this site is hosted, set that by default to save on database space because if you save lots of revsions of the same post, you’ll end up with a huge WordPress database. Makes sense, I guess. Anyways, once I changed the false to true and reloaded the page, all was well again.

Leave a Comment

Previous post:

Next post: