How can I disable post revisions in WordPress?

Posted OnNov 1, 2013     CategoryDevelopment, Question & Answer     CommentsNo comment

How can I disable post revisions?

Though it is not recommended that you disable post revisions, it is certainly possible to do so. You will need FTP, SFTP, or SSH access to your server in order to do this.

Step 1) Log in to your server with FTP, SFTP, or SSH

Step 2) Locate and open wp-config.php

Step 3) Add the following to wp-config.php

define( 'WP_POST_REVISIONS', false );

Step 4) Save your changes to wp-config.php

Note that in order to have post revisions, you can simply delete this line, as by default WordPress will always keep revisions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Send this to friend