SEO & AI Search (GEO) Expert

Improve your Google ranking with Peter Mahoney, 20+ years SEO & Wordpress experience

  • SEO Overhaul
  • SEO Campaign
  • WP Support
  • Blog
    • SEO Emails
  • Praise

Speeding up your site

October 30, 2012 by Peter Mahoney

There is a slew of methods to speed your site up–which is not only the polite thing to do for your guests–but helps with Speed Engine Optimisation (SEO) too. Google in particular looks at how quickly your site loads when deciding how to rank your site in search results.

Now, if you’re familiar with web servers then everything you need to know is written below. If not, this is the sort of thing you want to have an expert do for you; a faster site is too good an opportunity to pass up.

Browser caching is a process whereby we’re able to reduce the number of HTTP requests the server needs to process, which reduced page load times. Your server tells the visitor’s browser not to look for certain files everytime–usually the file that don’t change often anyway.

Edit your .htaccess file for your site, and include this code:

## EXPIRES CACHING ##
# by Peter Mahoney of petermahoney.com
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##

Restart your web server, and you’re done!

Noe this isn’t all there is to optimising a website for speed. Especially WordPress websites. As you’ll know by now I’m a WordPress SEO expert so I really pay a lot of attention to speed. There are plugins, image compression techniques and even extra code snippets worth using.

When it comes to plugin choice for WordPress speed I recommend WP Rocket – it does a great job out of the box and with just a few setting changes you can really push the envelope. Using that as well as a series of manual image compression techniques I’m able to improve the average WordPress site’s speed by 40%!

Speeding things up usually does require a few manual tweaks to code here and there – it’s really a job for a professional rather than just trying it yourself (it’s all too easy to stop a site working properly with this stuff.)

I can’t recommend a faster site enough. For your users, SEO – hell even the good of the web itself. Let’s get that content flying.

Filed Under: Code, Nerd-stream, Website Speed, Wordpress Tagged With: code, htaccess, search engine optimisation, seo, site speed, web server

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6

Get FREE Wordpress SEO tips!

I send regular newsletters with WordPress SEO expert-level tips. Sign up to get them, along with my FREE e-book “Ongoing SEO Success”.

Did I mention they’re free!

Subscribe for free

Praise

I have over 2,500 5-star feedback reviews (and I’ve never received less than the full five.)

Here’s just one example, from Mike who runs Costello Entertainments:

Migration, Hosting, SEO and Speed Work on our new website all completed quickly and efficiently and Peter was most helpful in fixing an issue with a Popover on the site as well. If you’re thinking about asking Peter to do a job for you or hesitating, JUST DO IT! – He knows programming and the internet inside out, he’ll get the job done for you professionally, with a smile. I wish I could call a plumber or a tradesman to do the jobs I can’t do myself with the same level of confidence.
Read a lot more.

Recent Blogs

  • How do I make the most of AI search optimisation?
    Thank you for sharing the recent update. I’m in the early stages of planning for the upcoming year, and with ...
  • AI Search (also known as GEO) – the biggest change in SEO & search since Google launched
    Keeping ahead of the AI component of search is essential – and I am actively managing this for my clients. I ...
  • Outreach for backlinks – how to get quality links that Google will love
    I’m thinking of redirecting my Virtual Assistant work to other tasks as the generic LinkedIn work I ...
  • (Small) Pricing changes for 2025
    When COVID first hit, like a lot of people around the world I wanted to help my clients as much as possible ...

Legal

  • Terms and conditions
  • Privacy policy
  • Disclaimer

Prices are quoted exclusive of VAT unless expressly stated.

Also read

  • Payment information

RSS

Peter Mahoney, WordPress SEO expert blog

Recent Posts

  • How do I make the most of AI search optimisation?
  • AI Search (also known as GEO) – the biggest change in SEO & search since Google launched
  • Outreach for backlinks – how to get quality links that Google will love
  • (Small) Pricing changes for 2025
  • My site has errors – timeouts – and my host isn’t helping me

© Copyright 2025 SEO & AI Search (GEO) Expert · All Rights Reserved · Site by Peter Mahoney