How to optimize WordPress with Ubuntu VPS

Ubuntu Virtual Private Server optimized for WordPress

Defining maximum memory in wp-config.php

When adding new domain to your server add the follwing lines to wp-config.php

sudo nano /var/YourFolder/wp-config.php

Find the sentence reading:

/* That's all, stop editing! Happy blogging. */

Add the following lines just above

define('WP_CACHE',true);
define('WP_MEMORY_LIMIT','256M');

Post Date:

Modified Date: