WpCode.net

Daily Wordpress Code Snippet

5 (+ 1) Tricks to improve wordpress’s Speed

| 0 comments

Pin It

In the past, sometimes when visiting my own blog, i’ve retrieved “500 Error”, such as my server goes “timeout”. After few days of research i’v found the solutions for this big trouble, and in this article i’ll report what i’ve found about:

1. Related Posts Plugins:

First 500 error was given by good “Yarpp” plugin, in fact when i tried to publish, or draft a posts my blog goes in timeout: The problem is that Yarrp (like each other good related posts plugin), do a cache copy of the post when the author clicks on “Publish” or “Save Draft” button, but if server’s cache is Full, more probably server will crash.

The best thing to do is completely remove this kind of plugin.

2. Plugins Removal:

When you Disable a plugin, remeber to completely delete it from your server, you will save disk space and resource; however, some plugins will create a db tables where they store data, check it via phpmyadmin, but be carefull.

3. Delete Posts Revisions:

When you write an article, wordpress autosave it for dozen times, so in your db will be the 10-15 copies of the same article; to delete these revisions you can only use Phpmyadmin, open the “wp_posts” table (wp_ depends from the prefix you choose), search for the “inherit” in post_status row, and delete all “post_status = inherit”.

In this forum threat there is description of the values of the “post status” row, my advices is to do a full db backup before.

4. Use code instead of Plugins:

Maybe you don’t know that most plugins use the wp_options table to save their configurations, so if you will use the code (provided for example from wpcode or Wpsnipp) you could save db date, and your wordpress will not query data from database.

5. Use code instead of Widget:

For the same reason of before, you could use code in your sidebar to reduce the loading time.

Bonus – Pay attention to your host:

Your may choose a really great host, Google pay attention to the server load time for his own serp, so improving your blog’s speed you will improve your blog’s SEO, you can look between ourĀ Hosting Reviews

Leave a Reply

Required fields are marked *.

*