In this post im going to talk about a couple of simple changes you can make to your settings or wp-config.php. Although they only be very small changes, when you add them up it makes a big difference to your speed.

Some of these changes may require you editing the wp-config.php file, but some do have plug-ins if your not sure.

Reduce The Amount Of Homepage Posts

Having too many post displaying on your blogs homepage can reduce the speed of your blog. Goto your settings tab in your blogs admin, select reading and reduce the number of blog posts on the homepage ( i recommend setting it to 5).

Reduce Hyper-linking

This is a good idea if your blog is getting a lot of traffic, and more so if you receive a high amount of comments.

When ever another blogger links to one of your posts in their blog, it produces a trackback . Although these do help in building good relationships with fellow bloggers, they can slow down your blog a lot.

Goto Settings>Discussion and uncheck Allow link notifications from other blogs (pingbacks and trackbacks) .

Managing Post Revisions

Each and every time that you edit your posts or make revisions, WordPress saves a copy of the older version.

Its very easy to turn post revisions of by editing your wp-config.php file.

php file:

define (‘WP_POST_REVISIONS’, false);

If you want to limit the amount of revisions, rather than turn them off all together.

Define (‘WP_POST_REVISIONS’, 1); [this will save 1 revision of each post]

Alternatively, if you regularly use your post revisions, you may want to keep the feature enabled. If you want to keep your revisions then there’s a plugin called better delete revision, this will better help you manage them.

Remove The Trash

Whenever you delete anything in WordPress, be it a comment or a post it will go into the trash where it stays for 30 days.

This may be a good feature in case you trash something by mistake. However, all these trashed comments and posts mount up making your blog run slower and slower. I tend to delete mine at least once a week.

Access the trash by selecting the Posts sidebar, then choosing trash. Make sure that there are no posts in the trash that you want to keep, then it delete.

You can edit your config file to make it empty automatically. Just go into your wp-config.php file, and add the following code, with X defined as the number of days that you want a post to stick around for after you delete it:

define (‘EMPTY_TRASH_DAYS’, X);

For me, 5 days is usually long enough. So put in:

define (‘EMPTY_TRASH_DAYS’, 5);

That should save you a little bit of space, as your files won’t be sitting around for so long after you delete them.

Keep WordPress up-to-date

This is a no brainer as far as im concerned, make sure that your blog always has the latest version running. The majority of WordPress updates will include performance updates.


I'm an economist and i am currently visiting postgraduate study at the Faculty of Economics in Ljubljana, Slovenia. TWP Tech Blog is part of larger network which i currently own and manage. Feel free to contact me if you have any inquires.

7 Comments on this article. Feel free to join this conversation.

  1. Jason Mathes November 8, 2012 at 7:53 pm - Reply

    Doesn’t the WP Optimize do this for you? I know it isn’t playing with the config file. But if you run it after say every time you publish – it would have the same affect?

    Just trying to learn here – thanks!

    • David November 8, 2012 at 8:24 pm - Reply

      @Jason Mathes: Hi Jason, yes it does, but doing it through your config file means you have one less plugin installed. Which in turn helps to speed up your blog.

  2. Garen November 8, 2012 at 8:39 pm - Reply

    These are some good tips. Anything we can do to make our blogs load faster is a good thing. I have a mailbox full of thanks for commenting or you have a new comment here. Also, use WP Cache :).

    Make sure you backup any config files just incase you mess something up :)

  3. Larry James November 9, 2012 at 1:25 am - Reply

    I have made the changes you recommend David. And I removed a plugin I was using to remove post revisions (Bulk Delete). So I think my blog will speed up some more. Thanks for the tips.

  4. Steve November 9, 2012 at 4:37 pm - Reply

    I like to test my sites with and see what is slowing down the pages and then try to improve on those items. A lot of times it is Facebook, Twitter or Google slowing down the page so you don’t have any options unless you want to remove your social sharing.

  5. Suresh Khanal November 10, 2012 at 6:29 am - Reply

    It is an interesting post. Though there are a few and simple steps but I understand they can help to increase the blog loading speed.

    Sometimes, post revisions can be very handy and thus I won’t like to disable it but, yes limiting would be fine.

    Thank you David for such a nice and useful post.

  6. qasim November 11, 2012 at 10:44 am - Reply

    Hi David,

    Thank you so much for sharing these tips to help us improve our website speed, website speed effects your ranking and can improve the traffic you receive and decrease your bonus rate.

Leave A Response