Everything you need to know about Wordpress Post Revision, detailed, easy to understand

Modify a WordPress post is a useful core feature that allows you to quickly view previous versions of your post or page, as well as view changes that have been made and restore one of the previous versions. There, if desired.

In this article, we will cover everything you need to know about modifying posts on WordPress. In addition to understanding what revisions are and how they work, you will also learn to:

  • Access all edits to your post
  • Compare the two versions together
  • Restore revisions to the WordPress editor
  • Change the number of edits to the WordPress store
  • Completely disable modifications

How to modify a WordPress post

Here is how to modify the function by default in WordPress:

Every time you save a draft or publish / update a post, WordPress will save a copy of how the post looks at that exact moment as a revision.

You can always go back and access that specific revision to view it or restore it to the current version of your post. It's there forever .

In addition, each revision keeps track of which users have made changes and when, which is useful to track who is doing what with your content.

How automatically connected with modification

The revision is connected to another feature called automatic . By default, WordPress saves a copy of your content every 60 seconds while you edit that content ( This saved copy is overwritten every 60 seconds - there can only be one auto-save for each user ).

This is to help you avoid losing content in case of browser problems or Internet connectivity.

You can also access it automatically using the revision interface. Autosaves are labeled Autosave and highlighted in red text, however, this makes them stand out from the regular versions.

How to view a revision of a post on WordPress

To access revisions for your post, look for the option Revision in Publish in submission edit WordPress. Then click the link Browser .

Note, this option will only show after you have at least two different versions of the post. If you have never edited the previous post, you will not see it :

where to access wordpress article modification

In the interface Revision , you can use the slider to move between different versions. Each time you move the slider, you will see:

  • An earlier revised version is on the left
  • A modified version is selected on the right
modified interface

When you drag the slider, you will also see:

  • Who makes each modification (useful for multiple authors blog or working with editors)
  • When modifications are made

There are also useful color codes to indicate specific changes made between each modification. For example:

  • Blue background indicates added content
  • A red background indicates that content has been removed
Comparison of changes between versions

How to compare different versions together

By dragging the slider, you can compare the two versions but only in successive order .

If you want to compare two versions that do not occur sequentially, you can select the order box Compare any two versions and then use the additional slider option to select the exact versions to compare:

Compare non-sequential versions

How to restore a modified article

When you restore a post revision, you'll overwrite the existing WordPress editor to restore content from the revision.

To do this, all you need to do is select the revision you want to restore using the slider and then click the Restore this revision :

restore revisions

If you choose Auto save, Instead, you will see Restore this AutoSave :

automatic restore

When you click the button, you will be taken back to the WordPress editor and you will see the restored version. However, you will need to save a draft or update the post for permanent modification.

Of course, if you want to restore the version you overwritten, you can always go back to the area Revision and restore the previous version from before you restore the current version. It is fraudulence!

How to modify the way WordPress handles post modifications

Some webmasters want to modify the system that modifies WordPress posts for performance reasons. By default, WordPress stores a separate revision every time you make changes to a piece of content.

If you are constantly editing and adjusting content, this can be quickly added.

See, every time WordPress saves an amendment, it will save a complete copy of that revision in your website's database. This is part of the reason why you can speed up your WordPress site by periodically optimizing your WordPress database to remove other post and gunk modifications.

For this reason, some WordPress server , like WP Engine, will automatically disable modifications on all websites hosted there.

But if you want or need to do everything yourself, there are two main ways to modify the WordPress post modification functionality:

  • Change the number of modifications to the WordPress store. For example, you can limit the number of revisions to 10 so that WordPress deletes older revisions when it reaches 10 archived revisions.
  • Completely disable modifications. We recommend limiting modifications to completely disabling them. But it is possible to completely disable the revision function. **


How to modify a WordPress post revision via wp-config.php

We do not recommend this option for beginners ( Cling to the plugin above ). But if you feel comfortable editing the file wp-config.php of the site, you can also modify the post modifications on WordPress with WP_POST_REVISIONS .

To modify the number of modifications, use this code:

define (‘WP_POST_REVISIONS’, 3);

Replace number 3 with the desired number of modifications .

Or, to turn off post modifications completely, you can set to wrong :

define (‘WP_POST_REVISIONS’, false);

End of everything

Modify WordPress posts is a handy feature that allows you to quickly compare or restore older versions of your posts.

While they are very useful and we do not recommend disabling them completely, they can tamper with your database if you continually edit posts.

For that reason, we recommend it WP-Disable plugin or edit the file wp-config.php of your site to limit the number of edits. A number like 10 is a good start.

Do you have other questions about modifying posts in WordPress? Leave a comment and we will try to help!


seo marketing wordpress seo seo hosting seo and marketing word press seo wordpress and seo wordpress marketing hosting seo seo press pro market seo seo & marketing seo e marketing e marketing seo seo pro wordpress marketing & seo seo di wordpress wordpress seo host hosting and seo wordpress hosting seo wordpress seo wordpress wordpress for marketing seo press wordpress marketing for seo