Optimizing Wordpress

KB Tags associated with this article:
Use all tags
KB Tags
Body

Wordpress is one of the most popular blogging/CMS applications. Here are some ideas for optimizing Wordpress and reducing the CPU consumption of this PHP script.

  • Make a backup of your account and then upgrade to the latest version of Wordpress. The latest versions have optimized code that could reduce the CPU consumption of your site.
  • Install the W3 Total Cache plugin, this can be done from your Wordpress Dashboard under Plugins. W3 total cacheWe recommend the following settings:
    • Page Cache: Enable
    • Page Cache Method: Disk (Enhanced)
    • Database Cache: Enable
  • Many themes are more CPU intensive.
    • Make sure your page loads are generating no errors in your Error Log (in cPanel under Logs).
    • Also, if you're using dynamic image resizing, you may want to disable it.
    • If all else fails, contact the theme provider for assistance, or change the theme.
  • Disable CPU intensive plugins or plugins that you no longer need.
    • All related posts plugins (WordPress Related Posts, YARPP) can cause significantly high load in most cases.
    • WPRobot3 and other auto-posters can also cause high load issues and should be disabled if they are causing issues.
    • StatPress and other WordPress statistics software should also be disabled, as these too can consume too much CPU in certain cases. Instead, use Google Analytics for statistics.
    • Any other plugins that are not vital to your Wordpress should be disabled.
  • Manage Spambots. Non-human visitors/posters (aside from web spiders) should be blocked. Use a captcha plugins to prevent comment spam.
  • Lower the rate web spiders crawl your Wordpress blogs if you have a large number of blogs hosted under your account. High crawl rates can drive up the load on the server, as many bots try to index your sites.

These changes are not guaranteed fixes but do provide a starting ground for correcting high load issues on Wordpress sites. If there are any questions about this, contact the support team for assistance.