HostGator.com » Support Portal

Optimizing WordPress

Wordpress is currently 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 first, and then upgrade to the latest version of Wordpress. The latest versions have optimized code that could reduce the CPU consumption of your site.
  • For permalink structure, do not start with the category, tag, author, or postname fields. Instead try /%year%/%postname%/ or /%post_id%/%postname%/. Also don't worry about 301 redirects as wordpress will automatically handle that after the permalink change.
  • Install WP Super Cache or W3 Total Cache, which can be done from your Wordpress Dashboard under Plugins. Follow the links below for information on how to setup these plugins.
  • 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 this if possible.
    • If all else fails, contact the theme provider for assistance, or change to a different 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. Use Google Analytics instead for statistics.
    • Any other plugins that are not vital to your Wordpress should be disabled.
  • Manage Spam bots. Non-human visitors/posters (aside from web spiders) should be blocked. Use a captcha such as SI CAPTCHA to prevent comment spam.
  • Lower the rate web spiders crawl your Wordpress blogs, if you have a large amount 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. How?

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, don't hesitate to contact support.


Article Comments

Kuldeep
Thanks for the Super Tutorial Provided By Hostgator, The Plugin works Oscum,Everthing works Fine. :)

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment