Back to: Home
Previous Post: THE ULTIMATE GUIDE TO SETTING UP WORDPRESS AFTER AN INSTALL
Next Post: DOES GOOGLE CUSTOM SEARCH GET MORE SEARCHES THAN REGULAR WORDPRESS SEARCH?


10 WAYS TO SPEED UP YOUR WORDPRESS BLOG

By admin | June 21, 2009
Topics: Blogging | No Comments »


imagebigger

If your place takes an geezerhood to load, in the text of Jeremy Clarkson, that's not good. You don't poverty to dress on your reader's cards before they've modify started reading.

In this place we'll explore decade structure to pace up your site, with tricks ranging from cushy to modify easier; hour of the clog in this place is difficult, so there's no defence for a slow-loading blog after datum this!

1. Delete Any Unwanted Plugins

If your place is weight slowly, countenance at how whatever plugins you're using. If the respond is more than ten, countenance at the plugins you're using and ask yourself whether you crapper combine them direct into your theme.

While you're at it, also communicate yourself whether you really requirement the plugin. If you crapper do without it, do.

2. Remove Unnecessary PHP Tags

If you're using a thought that you didn't attain yourself, then chances are it's flooded of php that doesn't requirement to be there. For example, your brick could impact something same this:

This is informing WordPress to intend the stylesheet url every azygos instance someone loads your page. You crapper rattling easily change this with something same this: (Remember to change yoursite.com with your address).

This is meet digit warning - there are whatever some more nowadays you crapper do this - impact a catch ammo your header.php and another thought files and you'll be astonished at the sort of unnecessary queries you crapper eliminate. We impact a itemize of 13 of the most ordinary un-needed tags here.

3. Use WP Super Cache

One of the meliorate famous techniques for motion up WordPress is to establish the WP Super Cache plugin. It caches your place for super-quick loading. It's as ultimate as that. Install it and block most it (and then pronto name it when you astonishment ground your organisation changes aren't pass incoming instance you modify your thought files!).

4. Optimise Your Database

You'd be astonied how much you crapper process your alluviation instance only by optimising your database. As always, you could do it manually or meet intend a plugin that does it for you!

The drill way. This is caretaker easy, as I explained on my blog: login to cPanel, encounter phpMyAdmin, superior your database, utter 'check all' at the lowermost of the tender and then in the modify downbound incase in the region of the tender (see the ikon below), superior 'Optimize database'. And you're done.

optimise

The another choice is to ingest a plugin: the Optimize DB plugin from yoast.com does what it says on the box.

5. Optimise Your Images

If images aren't optimised, both your blog's bandwidth and alluviation instance module be affected. Both are bad. The solution? Optimise your images. It's easier than you haw think; in Photoshop utter 'save for web' low the enter schedule or in the liberated GIMP, spend the enter as a .jpg and you'll automatically be presented the choice to wedge your image.

As a benchmark, though apparently depending on what the ikon is, on my journal I intend for in-post images to be 40kb or inferior (although don't kill calibre likewise much!).

If for whatever think you can't ingest an ikon editor, every is not lost! character impact a liberated assist titled smush.it that you crapper saucer at a scheme tender and it'll behave the images.

6. Compress your CSS and JavaScript

Again, something that is rattling cushy to do: compress your CSS and place your JavaScript into a azygos file.

To wedge your CSS, you crapper ingest an online tool, much as styleneat.com (see the ikon below), which module intend disembarrass of the albescent arrangement and prettify everything up. You strength not notice any disagreement to move soured with , but it module attain a disagreement to your blog's alluviation speed; these things every add up.

Something added do is to place every of your JavaScript into a azygos enter and then load it at the lowermost of the page (in the footer.php file). This ensures that the styling is unexploded first, then whatever flamboyant JavaScript you've got loads last.

styleneat

7. Disable Hotlinking

As I said earlier, if your images aren't optimised then your using up bandwidth unnecessarily. It's intense sufficiency having to ready images optimised for your possess server's sake, but feature someone added derived and affixed the url of the image, swing your images on their site?!

That's titled hotlinking, and via the .htaccess file (which you'll encounter in your stem directory), disabling hotlinking is easy.

First, patronage your .htaccess file. I can't pronounce how essential that is! Next, add the lines of cipher below, dynamical the pertinent lines to meet your blog. The terminal distinction is an ikon that module pass instead - how most an name for your site?

1.#disable hotlinking of images with proscribed or bespoken ikon option
2.RewriteEngine on
3.RewriteCond %{HTTP_REFERER} !^$
4.RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
5.#RewriteRule \.(gif|jpg)$ - [F]
6.RewriteRule \.(gif|jpg)$ http://www.yourdomain.com/stealingisbad.gif [R,L]

Source - A to Z of WordPress .htaccess hacks.

8. Keep Spammers Away

The .htaccess enter is a rattling multipurpose agency (e.g. here's whatever of the best htaccess tricks); it won't meet kibosh hotlinking, but it crapper also be utilised to ready spammers absent by blocking referrers from destined sites. At this point, you're belike intellection "great, sorrow it'd be crazy to compel this.''

Well, yes, it would be. The beatific programme is that over at Perishable Press, Jeff has complied a itemize of over 8000 of the web's spammiest referrers, which you crapper download here and meet double and adhesive into your .htaccess file.

How module this support your place alluviation faster? If spammers aren't effort onto your place then they aren't using up your resources, freeing them up for everyone added to use, so the place loads faster. It module kibosh spammers from baraging your computer with hundreds of requests. You crapper feature the flooded account on the place at Perishable Press.

9. Turn Off Post Revisions

Post revisions, introduced in WordPress 2.6, haven't been a bounteous impact with everyone, especially those with single-author blogs. Why do they andante downbound your site?

Every azygos instance you spend a post, a newborn bed is created in your wp_posts table, so if you spend your place decade times, that's decade newborn rows created.

Thankfully, as Lester Chan points out, it's cushy to invoke soured place revisions - add the mass distinction to your wp-config.php file:

10. Your Thoughts and Additional Reading

A pair of another articles around the gain to analyse discover -

AndBreak.com: Guide to Speeding Up WordPress

WPCandy: 4 Simple Ways To Speed Up WordPress

Lorelle on WordPress: The 3 Easiest Ways to Speed Up WordPress

Yoast.com: Speed up WordPress, and decent it up too!Speed up Wordpress, Increase Wordpress Performance

Noupe.com: 13 Great WordPress Speed Tips and Tricks for MAX Performance

Everyone's got their possess ideas: what's your selection artefact to pace up WordPress? Leave a interpret below.


Share This Post

Please share your thoughts




You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA Image Audio Version
Reload Image

Search Blog

Recent Posts

Topics

Feed

Blogroll


Archives