A very simple fix detailing how to enhance the speed of WordPress on Godaddy Shared Hosting, Virtual Private Server (VPS) and other plans regardless of your service or provider.
This will probably be my final Godaddy article as I’ve now switched absolutely everything over to a VPS at Media Temple. As a result, I would just like to share what is probably the easiest and simplest way to accomplish a faster WordPress website.
The Process
Once your WordPress is installed:
- Open your wp-config.php file in your WordPress root.
- Add the following line:
define( ‘WP_MEMORY_LIMIT’, ’64M’ ); - Save the file
That’s basically it. Feel free to change ’64M’ to any reasonable size you want. It’s highly unlikely you’ll need to go above ’98M’.
How It Works
The wp_memory_limit function allows you to set the default memory limit defined by PHP. It is typically used to cure the “Allowed memory size of xxxxxx bytes exhausted” message.
By default WordPress will attempt to increase the PHP memory limit to 40MB but nothing larger than that. As you add more plugins / functionality to your WordPress website, this allocated size becomes insufficient.
A Few More Performance Tips
There are many other ways to accomplish a faster WordPress install. Some of which include:
- Caching (W3 Total Cache)
- Database Optimisation (BackWPUp)
- Loading / moving JavaScript files to the footer of your website
- Using a Cloud Delivery Network (Cloud Flare CDN)
COMMENTS