WordPress automatically saves drafts of posts while you are working. These saved drafts, known as revisions, can be used to roll a post back to a previous edition, if needed. It’s possible to disable auto saving drafts in WordPress by modifying the WordPress configuration file.
Connect to the Web server hosting your WordPress site with an FTP program and log in. Change to the WordPress root directory. Download the file “wp-config.php” to your computer.
Copy the “wp-config.php” file. Name it “wp-config-backup.php” or something similar. This will give you a backup version of the file in case your changes cause something not to work.
Open “wp-config.php” with a text, HTML or PHP editing program.
Look for the following line of code in “wp-config.php“: define(’WP_POST_REVISIONS’, true); Edit this line by changing “true” to “false,” so that the code now reads: define(’WP_POST_REVISIONS’, false);
Save the file in the editing program.
Upload the “wp-config.php” file to your Web server with the FTP program. If prompted by the server if you want to overwrite the current “wp-config.php,” click “Yes” or “OK.”