Optimise wp-config.php

Here are some easy to add lines of code to optimise your WordPress installation via your wp-config.php file.

Insert some or all of the following lines of code above the line: /* That’s all, stop editing! Happy blogging. */

define('WP_DEBUG', false); // Disable debugging
define('WP_POST_REVISIONS', false ); // Disable revisions that bloat your database
define('CONCATENATE_SCRIPTS', false ); // Disable concatenate scripts
define('EMPTY_TRASH_DAYS', 5 ); // Empty trash every 5 days
define('WP_CACHE', true); // Allow cache
define('AUTOSAVE_INTERVAL', 180); // Increase time between autosave to 180 seconds
define('WP_MEMORY_LIMIT', '128M'); //Increase memory limit to 128M