Optimizing WordPress Print

  • 54

WordPress is currently one of the most popular blogging/CMS applications in use on our servers. Here are some ideas for optimizing WordPress and reducing the CPU and resource consumption of your blog.

Before making any changes to your WordPress installation, it is recommended that a manual backup is run to prevent any possible complications and allow the restoration of your site in the future, if needed.
  • Upgrade to the latest version of WordPress. The latest versions have optimized code that could reduce the CPU consumption of your site. Currently our QuickInstall plugin installs WordPress 3.6.
  • Install WP Super Cache or W3 Total Cache. The installation of either of these plugins can be done from your WordPress Dashboard under Plugins. Follow the links below for information on how to set up these plugins:
    • WP Super Cache (recommended)
      • WP Super Cache is a simple and easy-to-manage caching plugin that is set up by default if you installed WordPress via our QuickInstall cPanel plugin.
    • W3 Total Cache
      • W3 Total Cache is a more advanced and feature-rich caching plugin. It is normally overkill and can adversely affect performance if it isn't set up correctly. If advanced caching features such as Minify or CDN integration are needed, you should use this plugin.
  • Review your plugins. Be sure to disable any CPU intensive plugins or plugins that you no longer need. Any plugins that are not vital to your WordPress should be deleted. Please remember that any time you add additional plugins, each of these plugins can increase your resource usage. We recommend no more than 3 to 5 active plugins, not including your caching plugin.
  • Review your current theme. Many themes can be rather CPU intensive.
    • Make sure your page loads are generating no errors in your Error Log (To locate your logs, please log into cPanel and go to the Error Logs icon.)
    • Disable any dynamic image resizing features, if possible.
    • Contact the theme provider for assistance or change to a different theme if you are having issues or errors. Assistance with WordPress theme issues is generally beyond the scope of our support department.
  • Minimize the number of WP Crons. Having many WordPress Cron jobs running will cause a lot of system load. Spread your crons throughout the day and make sure you are giving each job enough time to complete.

  • Manage spam bots. Non-human visitors/posters, aside from web spiders, should be blocked. We recommend using the Akismet plugin, followed by a CAPTCHA plugin, to prevent comment spam. In most cases, Akismet is enough to prevent the majority of spam, and it is very lightweight.

  • Limit WebCrawlers and Bots. You can create Bing and Google Webmaster accounts and configure your domains to have a lower crawl-delay. We also recommend configuring a robots.txt file. This will reduce the rate that crawlers initiate requests with your site and reduce the resources it requires from the system, allowing for more legitimate traffic to be served.
    • If you would like to reduce traffic from crawlers such as Yandex or Baidu, these typically need to be done utilizing something in the nature of a .htaccess block. For more details regarding this topic, please reference our support knowledge base articles listed below:
      • Google
      • Bing
      • Robots.txt

These changes are not guaranteed fixes, but do provide a starting point for correcting high load issues on WordPress sites.

If you have any questions about this, please don't hesitate to contactsupport via our online chat or by creating a ticket.


Esta resposta foi útil?
Back