Back to Troubleshooting

How To Optimize WordPress To Avoid Suspension

This article contains information about how to optimize your WordPress.


How to prevent your WordPress installation from overloading your shared server (or how to survive the Digg effect on your WordPress blog):

WordPress blogs can be extremely resource-intensive if you happen to experience a surge in traffic. Poorly implemented WordPress setups can place a high load on web servers and lead to interruptions of service or account suspensions for using too many resources (we at Midphase allow up to 10% of CPU resources and up to 50 concurrent MySQL connections). Here are some tips that can help you make your WordPress install more stable:

  1. Use the WordPress super cache plugin ( )– The number one thing you can do to improve WordPress performance is install a page cache. WordPress super cache plugin is an extensive modification of the WP-Cache plugin. The WordPress super cache plugin serializes your posts to a file on disk and later spits them back. It also knows how to update itself when comments are received, etc, so your site is always the most up-to-date. I can not recommend this plugin enough if you wish to have a stable and responsive WordPress install. Note: to use this plugin you must have Mod_Rewrite enabled. Add the following to your .htaccess file: Options +FollowSymLinks RewriteEngine On
    Please see for more information. 
  2. WP Built-in object cache – The default installation of WordPress can be used to cache database queries. Less database queries = fewer resources being used and that makes us all happy. Just add the following line to your wp-config.php file: // Enable the WordPress Object Cache: define(ENABLE_CACHE, true);

  3. Review your plugins – You should go through the plugins you have installed and see if there is a way to make them faster. Any way in which you can make them stop creating database queries and use flat files, or even better, cache things will help out greatly. If you find that a particular plugin is slowing down your WordPress install you should uninstall the plugin and consult the author. Most plugin developers love to hear feedback and would greatly appreciate your help.
  4. Use a plugin monitor to see which plugins are using your resources. You can download pluginhogdetector from just deactivate it when you not monitoring as it will use a lot of resources too.
  5. If you are doing media-rich applications and serving large files you may want to consider hosting these files on a VPS or dedicated server.

  6. Keep your WordPress install up to date.

Please note that these are only recommendations. A major spike in traffic may still take down a site even if it is cached. If you find your site is going down due to traffic then your site has most likely outgrown shared hosting and it may be time to think of upgrading to VPS SSD or a dedicated server.

Related Articles

How To Fix My WordPress Installation
How To Manage Users In WordPress
How To Write A Blog Post In WordPress
How To Move My Blog
How To Install WordPress Using Softaculous

Can’t Find what you need?

No worries, Our experts are here to help.