Hosts like to cram as many websites on a server as possible. A blog that uses 10% of the server resources would bad for their ratios (websites/server) so they simply limit each site to 4-6%. What does that mean for someone with a WordPress blog? It means that when you use up your portion of the server resources, further use of your website will be limited.
So, why does it take so much of the server resources to run a blog? WordPress is a dynamic platform that makes many requests of the server each time a page is loaded. It is not unusual for there to be >100 objects loaded for 1 page of your blog. Want to check your website? Go to: http://www.tools.pingdom.com.
Eek! Now what?
Your host will try to sell you a dedicated virtual private server (VPS) to the tune of $150 or more a month. Since typical hosting is ~$5/mo, a monthly charge like that can be the end of your blog. There are a number of things you can do to optimize a WordPress blog and make it run more efficiently before throwing more money at it.
- Check for malicious code using the WPAntiVirus plugin.
- Use WP DB Manager plugin to optimize your database.
- Remove all plugins that are not critical – especially ones that are not being used.
- Compress all images before uploading to your blog. Do not use the “resize” option in WordPress to make your images smaller. It results in 2 photos being uploaded instead of just 1 and it doesn’t optimize them for web viewing. ROIT is a free program http://luci.criosweb.ro/riot/ that takes care of both resizing and optimizing.
- If you will be including a lot of pictures in your blog posts, use a free service like Photobucket to store them. Every image is an object…the more objects, the more server resources are needed.
- Use a caching program like WP Super Cache. It can be a bear to configure, so go here for instructions: http://tentblogger.com/wp-super-cache/
- Make sure your HTML (http://validator.w3.org/) and CSS (http://jigsaw.w3.org/css-validator/) code is validated. Errors in the code are often corrected by the browser, but it uses extra time and server resources.
- Avoid redirects unless they are critical to the function of your blog…again, they take time and resources.
- Be selective when using iFrames…see above.
- Be selective when using widgets, especially ones that have to go out and look for Tweets, FB Posts, etc…see above.
- Get rid of the custom “404 Not Found” page. It is just one more thing the server has to process.
- Use Feedburner or similar service to manage your RSS feeds. If a function is handled on another server, it isn’t using your resources.
- Use Google Search for site search. It is free, and again, if it is handled on another server, it isn’t using your resources.
- Remove post versions http://www.mydigitallife.info/how-to-delete-existing-wordpress-post-revisions-storedsaved/
- Don’t post via email or using copy/paste from Word. It adds excess formatting that has to be decoded by the server.
- If you are going to present related posts to your readers, use the Efficient-Related-Posts plugin as it uses fewer resources than other similar plugins.
- Turn off all email notifications. If you are running a busy blog, you are probably in your Dashboard all day long. There is no reason for the server to send you an email when you get a comment, if you are there to see it!
- Click out of the Edit Post or Edit Page screen (go back to your Dashboard) when you are not editing. WP saves a draft every so often and uses resources to do so.
- Schedule backups for your slowest traffic period.
- Backup database in MyPhpAdmin.
- Optimize and repair database in MyPhpAdmin.
- Review the wp-options table in MyPhpAdmin and delete duplicate entries.
- Remove tables that were created for plugins you are no longer using.
- Hard code your title, blog description and other essentials in your header.php file.
** Advanced – Do not follow the suggestions below unless you know what you are doing and/or are following detailed instructions. If not done correctly, the items below can permanently disable your blog.
It is possible that after you address all the suggestions above to optimize your WordPress blog, you will still either be limited or shut down by your hosting provider. In that case, contact Beth for all your WordPress optimization needs.


Comments
Post has no comments.