Essential Tips for Maintaining and Speeding Up WordPress

WordPress is one of the most popular and widely-used blogging platforms and CMSs (content management system). The reason is it’s easy to install and use, so you can focus on creating content rather than building and maintaining your website. Everything from small personal blogs to big digital magazines like Smashing use WordPress to run their sites. Chances are you’re using WordPress for your own site or are planning on using it. Well, although WordPress is fine out of the box, it’s not optimized – and worse, it can crash when you start getting more traffic. Lucky for you, this article brings you essential tips for maintaining and speeding up WordPress.

Using these simple and free tweaks and plugin installations, you can:

Maintain your WordPress site to be in tip-top error-free shape using automated methods so you don’t need to waste your precious time

Speed up your WordPress site so it not only loads faster but holds up to traffic spikes

Monitor your WordPress site so you’re aware when a problem pops up and how to quickly fix it

All of which will ultimately free up your time to focus more on creating content and great work, not wasting time fixing your site when it goes down. So without further ado, here are the essential tips for maintaining and speeding up WordPress…

1. Regularly backup your database

In case your WordPress-powered blog breaks or you need to reinstall WordPress. You’ll have all of your latest pages, posts and comments in a handy file. Automate this by using the WP-DBManager plugin. You can set it to regularly backup your database and save a file on your hosting or by emailing an attachment.

2. Optimize your database

Again, you can use the WP-DBManager plugin to automate this.

3. Regularly backup your WordPress files

This means your images and plugins. Automate this by using the WordPress Backup plugin. You can set it to regularly backup your WordPress files and email an attachment.

4. Reduce spam comments

Have Akismet plugin running and filtering out the spam comments. This will save you time by helping speed up comment moderation/reading/replying.

5. Make sure you don’t have unnecessary 404′s

This is when people try to access your pages and posts and get a 404 error message page instead. Use the 404 Notifier plugin to identify the 404 errors and fix them with redirection by using the Redirection plugin.

6. Switch to pretty permalinks

That is if you haven’t already. Go to Settings > Permalinks panel and choose a pretty permalink style (like “example.com/date/post-name/“). Like the URL style that Speckyboy here has, rather than the “/?p=X” permalink style that WordPress for some reason still insists on defaulting to. This not only helps with SEO (search engine optimization, since the keywords people would use to find your post will be right there in the URL) but with human readability. It becomes obvious what you’re going to read as well as making it easier to share.

7. Automate basic SEO (search engine optimization)

Install the All in One SEO Pack plugin. Add your title, keywords, and description in the plugin options screen. This will make it easier for people who are searching for what you have to find you.

1. Use caching

Install the WP Super Cache plugin and enable the Gzip option. This will load only the appropriate cached content to visitors rather than loading every single script and element of your WordPress site. Your bandwidth is greatly reduced and you avoid your site going down during traffic spikes (and if you’re making a kick-butt site with kick-butt content, you should expect them more often than not).

2. Reduce the CSS files to as few as possible

Combine multiple custom CSS files into one big one. The less individual CSS files the theme needs to read the faster it’ll load. Simply copy/paste the code from individual CSS files into the main style.css or a custom.css file in your theme.

3. Reduce the Javascript files to as few as possible

Combine multiple .js files into one big one. The less individual .js files the theme needs to read the faster it’ll load. You can copy/paste the code from individual Javascript files (/js/jquery.js, /js/jquery.slider.js, /js/jquery.tooltip.js) into a new single Javascript file (/js/jquery.js,jquery.slider.js,jquery.tooltip.js).

3. Put as much Javascript code as possible in the footer

In the footer.php file of your theme, or in the footer section in your theme’s customization panel if applicable. This is so that the Javscript calls load last. This way, your visitors will be able to quickly read the content while the Javascript loads in the background.

4. Use as few plugins as possible

The less plugins need to load the more stable your WordPress site can be (and slightly faster in certain cases if a plugin isn’t properly coded). Do that by seeing if you can copy/paste code or hand-code the functionality into your theme, or using a theme that has the functionality built-in, or having it designed or customized for you. This doesn’t mean don’t use any plugins, especially since this article is suggesting plugins for WordPress optimization – just stick to only the essential ones rather than random sidebar widgets and whatnot.

5. Speed up image loading

Use the Amazon S3 storage service to upload and host your files. The images will load faster and your visitors won’t have to wait as long for them to load – especially important for web and visual designers with lots of images and portfolios to showcase. You can use the Amazon S3 for WordPress plugin to streamline image uploading and inserting into your pages and posts.

1. See your basic hosting server info and WordPress PHP memory usage

Install the WP System Health plugin. This can let you see if there are memory issues so you can identify and fix the problem rather than blindly trying things when your WordPress site is slow.

2. See more detailed hosting server info

Install the Hosting Monitor plugin. This will let you know if slowness or any other performance issues are something to do with WordPress or your hosting, and you can fix it or contact your hosting accordingly.

3. Have any WordPress errors logged and notifications emailed

Install the Error Reporting plugin. Since you’ll be notified right when an error occurs, you can fix it right away.

By using these tweaks and installing these plugins, you’ll not only take your WordPress site’s performance and stability from merely okay to great, but you’ll automate a lot of it so that you don’t have to spend time maintaining your site. Not to mention you won’t have to waste time fixing and trying to get your WordPress site back up when it crashes from a traffic spike or whatnot.

All of which boils down to why you should even care about any of this in the first place: you free up time to focus on creating content and great work.

Over to you: what are some other essential tips for maintaining and speeding up WordPress that weren’t featured here? Feel free to share your useful additions in the comments section below.

You might also like…

20 Plugin Replacing Tutorials, Tips, Snippets and Solutions for WordPress →
Dummy Content Filler Resources for WordPress, Drupal and Joomla Developers →
10 Useful WordPress Search Code Snippets →
30 Grid-Based WordPress Themes →
40 More Stylish, Minimal and Clean Free WordPress Themes →
20+ Free and Stylish Typography WordPress Themes →
30 Brand New Quality WordPress Themes →
10 Blank/Naked WordPress Themes Perfect for Development →
25 Fresh, Clean and Unique WordPress Themes →
40 Awesome and Fresh WordPress Themes →
Essential WordPress Plugin Development Resources, Tutorials and Guides →
20+ Powerful WordPress Security Plugins and Some Tips and Tricks →

  • Alireza

    thanks,very useful

  • http://www.iamntz.com Ionut Staicu

    permalink style that WordPress for some reason still insists on defaulting to

    Probably because not all hosts have .htaccess or mod_rewrite enabled by default? :)

  • http://www.twitter.com/smashdeveloper SmashDeveloper

    This is what you call useful. Some of the things I already use, but will it slow down your wordpress installation if you use this many plugins ?

    Great job Oleg, keep it up !

  • http://www.jenst.se Jens Törnell

    Hi!

    I read your article.

    First you give us a ton of WordPress plugins to maintain and speed up WordPress.

    Then you say “Use as few plugins as possible”. Hard to combine.

    /Jens

    • http://www.touchpuppet.com touchpuppet

      Exactly what I was thinking…

      Plus, no mention of W3 Total Cache (which will combine/reduce all of your static files anyway) or Yoast’s WP SEO.

  • http://www.oversharing.net Mr.Gonella

    thanks a lot, I found it useful!

  • Jaye

    Great article. I’ve got work to do implementing these tips. Thanks.

  • http://thefinishedbox.com tfbox

    Great article, will be trying a few of these out!

  • Eric

    Nice post…Do you think you could show us how to combine .css and .js files as mentioned above.. It would be great to have a separate post detailing how this is done for each…Thanks again for your help!

  • http://australiaunits.com Australia Unit Dude

    Thanks for this! now my little blog website is zippin!

  • http://www.rateddesign.com Ricardo

    really important to know how to speed up wordpress blog :)

    Thanks

  • http://www.wasimismail.com/profile/ Wasim Ismail

    Nice points, using less plugins defiantly helps, also enabling Gzip and caching is good way too.

  • http://superdit.com aditia

    for speeding up, I’ve read some opinion from others blog, they delete post revision and optimize wp db,
    btw thanks for the other list

  • Kim

    Amazon S3 for WordPress plugin is only compatible to version 2.7 and was last updated on 2009-1-27. Uh, WP is now at V 3.0.5 and it’s 2011-2-21.

    Why hype this when it’s so out of date? For me, this makes all of your recommendations suspect.

  • Pingback: wpmag.com - WordPress News, Themes, Tutorials, Plugins, Questions, ...

  • Jen

    Quite possibly the worst advice ever. Oleg, perhaps you should focus on music instead of the web.

    Let’s count – a grand total of 10 plugins you’re recommending people to install. If you know anything about how wordpress works, the more plugins, the slower.

    Surprised you’ve even recommended people installing the AIO SEO pack plugin which is one of the worst plugins ever written, causing high loads for your host and slowing down your site.

    Some plugins are definitely useful, like Akismet and Super Cache, but the majority of these are quite useless.

    • http://www.liquidviral.com Liquid

      Jen, I’ve found AIO SEO to be pretty good.
      It’s never caused a problem for me and I’ve used it on all my WP sites right up until I switch over to using Thesis.

    • http://ottodestruct.com Otto

      the more plugins, the slower

      This isn’t true. Not really. I run over 60 plugins on one of my sites, with no ill effect. The trick is to run simple plugins that do one thing only, instead of complicated beasts that take up tons of time.

  • Pingback: WP, wp, wp, wp et wp mais aussi typo et logo | morningweb

  • Pingback: Essential Tips for Maintaining and Speeding Up WordPress « Labz Creative

  • http://www.fortewebgroup.com Marcelo

    In regards to “Maintaining Your WordPress Blog” – item #6.

    Take a quick minute to look over this page at the WP codex: http://codex.wordpress.org/Using_Permalinks#Structure_Tags

    In sort, performance will be affected if the permalink structure begins with certain values, and it’s not recommended.

    For the full technical post, check out Otto’s writeup: http://ottopress.com/2010/category-in-permalinks-considered-harmful/

    Hope that helps
    Marcelo

  • Michael Gunner

    Jen, I think you’re comment is possibly the rudest ever!

    The guy is just posting up his personal suggestions.

    I have actually since started using the database backup plugin he has suggested, which is the only solution I have ever found able to cope with the large size of the database my site runs. Phpmyadmin and other backup methods could not cope with the size so frankly this alone for me make this article totally worth it.

    Whilst too many plugins will slow your website down there is nothing here to suggest you should install all of these that are suggested, they are just ideas.

    Also I’ve used AIO SEO for a long time and I’ve never had site performance issues…

  • http://www.liquidviral.com LIquid

    Completely agree with the permalinks suggestion.
    It’s one of the first things I change on a WP install.
    I use /%category%/%postname% and it works great.

  • http://www.liquidviral.com Liquid

    Just another quick point – many thanks for the mention of WP-DBManger. I was using another plugin to do this but have found this one to be much more effective and the ability to incorporate a scheduled backup is great.
    Thanks again for the tips.

  • http://graphicalinsight.com Rob

    Hi,

    Great article, and thought to add a quick thing.

    The plugin Autoptimize is excellent in helping to compress not only css, js, and html files, But also where and how they are stored(gzipping). Another helpful thing about this tool is that is assists in caching too.

    Thanks,
    Rob

  • http://www.adriansauer.com Adrian

    Thank you very much for these usefull informations.

    Thanks,
    Adrian

  • http://www.webtricksblog.com/ anuj@webtricks

    One of the only ones I’ve read so far that is straight-forward and seems to be on target. Thank you for posting! :)

  • Pingback: 维护和加快WordPress的一些基本技巧 | PPCN

  • Pingback: 50+ Best WordPress Tutorials of 2011 So Far | Make Your Blog

  • Pingback: Wie man einen Wordpress Blog leichter administrieren kann… « Richtig Bloggen oder der Weg der Gedanken in's Web

  • http://bestplaceon.net/ David

    Thanks for this post, some plugins are going to my blog!

  • Pingback: Top 10 Wordpress plugins | de mest cool webservices, online tjenester og gratis programmer samlet ét sted – Coolwebtools.dk

  • Pingback: Top 10 liste over de bedste WordPress plugins · Artikel Guiden

  • http://geektual.com/ Noticias Tecnologia

    Really nice tips, I’m gonna try to put some of them in practice.

  • Pingback: Python, MongoDB, Wordpress – Recently Bookmarked : Digital Acorn Limited

  • http://smseleem.com Sumon @ Sumon Seleem’s Blog

    Great tips. Currently I’m using W3 Total cache for caching and WordPress SEO by Yoast for Search Engine Optimization. I manually optimize my WordPress database and keep it clean regularly.

  • http://walkthroughangrybirds.net kevin

    Nice one. Bookmarked! I am using Platinum SEO plugin instead of All In One. I think Platinum has extra functions.

    Thanks.

  • http://walkthroughangrybirds.net kevin

    Nice one. Bookmarked! I am using Platinum SEO plugin instead of All In One. I think Platinum has extra functions.

    Thanks.

  • Anonymous

    Greetings!! Really nice post, got a handful of recommended plugins, however right here i would just like to mention  WP Smush.It Plugin(http://wordpress.org/extend/plugins/wp-smushit/), It works great when comes to compressing images, therby boosting the speed, personally speaking in some cases savings upto 60% have also been witnessed..!!

    Nice ReadCheers!!

  • http://www.byteindia.com Vijay

    Pretty Interesting and informative tips and list of plugins. Which caching plugin you think is the best? Thanks a ton.

  • andy

    great and very useful thank you very much mate!