Optimizing Wordpress on Shared Hosting

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 webservers and lead to interruptions of service or account suspensions for using too many resources. Here are some tips that can help you make your wordpress install more stable:

   1. Use Wordpress super cache plugin ( http://ocaoimh.ie/wp-super-cache/ ) : 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 http://ocaoimh.ie/wp-super-cache/ for more information.

   2. WP Built-in object cache: The default installation of wordpress can be used to cache database queries. Less database queries = less 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 though 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 http://money.bigbucksblogger.com/pluginhogdetector-plugin-helps-you-find-cpu-hogging-plugins/ just deactivate it when your 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.

Was dit antwoord nuttig?

 Print dit artikel

Lees ook

What is suPHP ?

What is suPHP? (su = switch user, allowing one user to "switch" to another if authorised) The...

How to reset my Joomla administrator password?

You can reset your Joomla administrator's password through the script's MySQL Database. The most...

How to setup custom php.ini file?

What is php.ini?PHP.ini is very important configuration file for PHP that is used to customize...

Fatal PHP Memory Limit Error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in...

Can you disable or turn off php Safe Mode?

No, we cannot disable php safe mode. All our servers have php safe mode enabled due to security...