5 quick changes to speed up your WordPress website

Speed up your WordPress website

Have you taken the time to speed up your website?

Have you considered the impact the speed of your website has?

If your website is slow, you will have annoyed any new visitors before you even get going!

They won’t see your beautiful design, and they certainly won’t read your brilliant content because they would have left your site before it’s even on the screen.

By speeding up your website, you will not only retain new visitors for longer, but you will actually increase the rate in which you gain new traffic.

This is because search engines rank your website for the quality and relevancy of your content, AND for how quick it loads.

That means that the faster your pages load, the more Google will like you, and the higher up the rankings you will find yourself.

How to test your website speed?

The quickest way to test your websites speed is to use Pingdom.

Pingdom allows you to enter any web address and it will give the page a rating based on it’s download speed and general performance.

It goes on to tell you areas that could be improved, e.g. here on StuffedWeb, I could make better use of browser caching.

Pingdom Page Speed Performance

How to speed up your website

#1. Delete your spam comments

This one is fairly obvious but very easily over looked.

A few comments won’t really make a difference to your website, but if you let the spam comments build up to thousands, then things will have a different story.

To remove your spam, just click the ‘spam’ link from the dashboard, then click the ‘Empty spam’ button at the top.

WordPress emptry spam buttons

#2. Delete your post revisions

This is a little less obvious, but every time you edit a post, WordPress will save the old version.

This means that each post is likely to have between 10 and 20 revisions each – especially if you edit within the WordPress admin!

Removing these will speed up your website considerably!

The easiest way to do this is to install the plugin ‘Better Delete Revision’ – This plugin hasn’t been updated for the past two years, but everything is in working order.

Once you have installed the plugin, go to ‘Settings’ > ‘Better Delete Revision’, then click the button ‘Check Revision Posts’ and delete them.

Better Delete Revision

#3. Clean up your plugins

Adding plugins to your website is one of the most detrimental things you can do.

However in almost all cases, this is unavoidable.

Instead, you need to keep the number of plugins you have installed on your website to a minimum.

Uninstall those that aren’t activated and consider removing any that don’t get used very often.

The fewer plugins you have, the better.

#4. Clean up your database

We have already made a start on this by removing spam comments and post revisions, however there is still more we can do to help the database.

The first thing you need to do is install WP-DBManager (I know… another plugin).

This will take care of pretty much all the cleaning for you.

Before we make any changes, you must take a backup of your database – this really is a must!

Go to Database > Backup DB in the left menu and click the ‘Backup’ button.

WPDBManager Backup screen

When your backup is complete, go into the ‘Optimize DB’ section, make sure everything has ‘Yes’ selected, then click ‘Optimize’ at the bottom.

Do the same for ‘Repair DB’.

Finally go to ‘Empty/Drop Tables’. In this section you all of your tables again. You need to go through each of those Table names and drop anything that relates to a plugin you have previously deactivated.

Unfortunately, deactivating a plugin doesn’t always mean it will clean up after itself, so go ahead and drop those extra tables from your database.

#5. Add caching to your website

Caching allows your website to save a static version of each of your pages onto your server, this file then get’s used when displaying your pages.

This means that the database won’t have to be accessed to display the content every time a new visitor arrives at your website; which in turn decreases the load time of your site dramatically.

To add caching to your website, you do need to install another plugin (last one – promise).

That plugin is called WP Super Cache.

Simply install the plugin, then go to Settings > WP Super Cache, make sure your on the ‘Easy’ tab then just turn caching on. Done.

WP Super Cache easy options settings

If you are more technically minded, then give W3 Total Cache a try as that does have better advanced features, but for now, WP Super Cache will do the job just fine.

Now it’s your turn

Speeding up your web pages doesn’t have to be a daunting task, you just have to stay on top of things by deleting spam, old post revisions and plugins.

Once you have the database and caching plugins installed, they can be set up to take care of themselves so no need to worry about them in the future.

Once you have made those changes, take a look back at Pingdom and see how much you have improved.

Send to Kindle

Never miss an article again!

Get all future articles delivered straight to your email inbox!

  • https://plus.google.com/105076725141939280120/about Stephan Hovnanian

    #6: Change out any plugins that rely on the timthumb.php image resizing file. Reason being, it’s a favorite hack attempt, and WordPress has image resizing built in now.

    #3a: Review your plugins to see if any can be changed out to others built by the same developer. Especially if you use a framework like Genesis (i.e. get Genesis-optimized plugins). Reason: they’ll be optimized to work together and have fewer call-ups to scripting and font libraries.

    #7: Install your own fonts and script libraries, don’t rely on CDN’s. Some people will disagree with me, but (combined with caching) it will improve your load speed tremendously when these are called up locally.

    • http://www.stuffedweb.com/ Sam Scholfield

      Great points Stephan! I completely agree with your points about the plugins. By keeping your plugin developers inline with your theme developers, theoretically you should have a much smoother installation.

      Your point 7 is very controversial, there are good arguments both for and against having a CDN, I think I would fall down the same side as you though. I find there are more issues with connecting to third party resources than connecting to your own.

      Thank you for your additions :)

      • https://plus.google.com/105076725141939280120/about Stephan Hovnanian

        re: CDN, definitely a double-edged sword, especially when you have plugins that are regularly updated and rely on the latest versions of jQuery, etc. And for the average DIY WordPress site owner, they just don’t have the know-how to evaluate their themes, plugins and other assets as they’re being updated so see where you can be more efficient. So having that third-party reliance is definitely helpful in those cases. Still, I prefer local storage (for our custom framework, that’s what we use)

  • https://plus.google.com/105076725141939280120/about Stephan Hovnanian

    I got another one for you: get good hosting! Especially for those of you using some of the more heavy-duty frameworks that run on top of WordPress, like Headway. Cool framework, it has a visual editor built in, but it’s resource-intense, so if you’re on a cheap, lousy hosting plan, it will slow up your site big-time.

    • http://www.stuffedweb.com/ Sam Scholfield

      Yes very good point! I was actually considering adding hosting into this list, but opted for hoping that some very smart person would add it into the comments :) I was amazed at the difference not only in speed, but in service when you pay a little extra for your hosting package – It’s more than worth the costs.

      Good job Stephan, and sorry for the slow reply!

      • http://pokeflirt.com/ Michael Vera

        Haha you’re such a nice guy.

    • Suzanne Hazelton

      Thanks for the tip – I recently installed Headway and thought that the slowness of the site might be related to the installation.

  • http://pokeflirt.com/ Michael Vera

    Oh my god THANK YOU!!!!! Yes yes yes. Awesome article. I bookmarked this, and uh THANKS YOU’RE AWESOME.

    • http://www.stuffedweb.com/ Sam Scholfield

      No problem Michael, I’m glad you approve :)
      -Sam

  • http://www.facebook.com/rupesh.ruins Rupesh Kumar

    really nice info

    i have some more info on this topic http://www.shouthard.com/speed-up-wordpress-website/ go to this link n see

  • Josh

    Hey Sam

    I lol’ed at suggestion 3 to reduce plugins, then suggestions 2,4 and 5 to add plugins. Makes sense though

    I ran the pingdom test on two sites I have, and both have 3 second load times because of the following request. I have no idea what it is, I’m not very technically proficient, do you have any idea why this is slowing my sites down?

    The culprit is: admin-ajax.php

    Thanks for your help

    • http://www.stuffedweb.com/ Sam Scholfield

      Haha I know, as I was writing it I was thinking exactly the same!

      Can you send me a link to your website? I’d happily run it through the Pingdom tool and take a look to see if I can get a little more detail on the culprit file.

      (it’s probably a case of it not connecting to a javascript file)

      Sam

      • Josh

        braziliangringo.com and reallifebh.com/pt are my two sites that I want to speed up. They’re on the same hosting account, does that effect the speed very much?

        • http://www.stuffedweb.com/ Sam Scholfield

          Hi Josh,

          Nope being on the same hosting account won’t be the problem. admin-ajax.php is a file that’s normally called within a plugin. It looks as if you either have a plugin that’s out of date, or just broken. I’d suggest you try turning off some plugins and running the pingdom test again to see if you can identify the culprit.

          I hope that helps!
          Sam

  • http://twitter.com/BealooKids Bea Moritz

    Thanks for this. I was really able to speed up my website – some great tips!

    • http://www.stuffedweb.com/ Sam Scholfield

      That’s great news Bea! Thank you for letting me know – Sam

  • Suzanne Hazelton

    Really great tips. Thank you