The WordPress revision system saves a draft of your posts and pages each time you save an article. This feature is important to bloggers as it allows them to refer to earlier drafts and stops any work being lost in the event of a lost connection.
To address this issue, you can reduce the number of post revisions to a more sensible number by adding the following code to your wp-config.php file:
, false );
WordPress also autosaves your posts and pages every sixty seconds. The interval in which posts are saved can be modified by adding the following code to your wp-config.php file:
, 160 );
Move Your WP-Content FoldersThe wp-content folder contains your themes, plugins and uploads. Certain plugins, such as caching plugins, also use the wp-content folder to store data.
Due to this, the wp-content folder is frequently a target for hackers, particularly those that insert malware into your theme files. You can make it difficult for people to find your wp-content directory by moving it to another area of your website.
If you want to simply move the wp-content folder to another location, you can add this code to your wp-config.php file:
* Notice the wp-content folder does not have a trailing slash