Main Menu

Where are my WordPress Revisions?

Are you wanting to review or revert back to a previous revision of your work within a WordPress website? Does it seem like WordPress Revisions is not working? Do you only have a few revisions showing for a page or post in your WordPress install and you know you made more changes?

I had that problem. This solution might work for you also.

You need to access a file inside the root of your WordPress install. (What does that mean? It means wherever your files are stored for your website, look for this file without going into any folders – you will see a folder called wp-content in the same location on your server.)

Look for the file: wp-config.php.

Open it.

Search for the word Revisions

Or just scan down for a line that looks like this:

define( 'WP_POST_REVISIONS', 3 );

The number there refers to how many revisions per post or page that your site is saving. You may want to change it, for example you can change it to:

define( 'WP_POST_REVISIONS', 20 );

Depending on what you think you might need.

You do not even need to have that line of code in there at all and you can remove it to remove all restrictions. I belive the benefit of having it is that it can slow down your site slightly to have them all in there, but I am not sure about that. It will also make your database bigger, but the size difference is not that much as far as file sizes go.

Why is that in there? It is not by default included with WordPress. I suspect if you used a tool to install your site, such as one provided by your hosting provider, they modified your wp-config file when they installed your site. Or it was added by a caching plugin or some other plugin.

Hope that helps. Share if it did so others know. Or add to what I shared to help others.

And if you are looking for a web designer to improve your WordPress based website, shoot me an email. Cheers!