How to speed up a WordPress site

A slow site loses visitors and rankings. These nine fixes, roughly in order of effort, make the biggest difference for most WordPress sites.

1. Measure before you change anything

Run your homepage and a typical inner page through a speed test and note the numbers. Look especially at time to first byte (how long the server takes to respond) and Largest Contentful Paint (when the main content appears).

2. Resize and compress images

Oversized images are the most common cause of slow pages. Upload images at the size they're displayed, and use modern formats such as WebP where you can.

3. Remove plugins you don't need

Every active plugin adds code to each page load. Deactivate and delete anything you aren't using, and replace heavy plugins that do one small job.

4. Use a current PHP version

Newer PHP 8 releases are noticeably faster than older ones. Check your theme and plugins are compatible, then switch the site's PHP version in your control panel.

5. Add page caching

For visitors who aren't logged in, a cached page can be served without running PHP at all. A well-configured caching plugin helps most on content sites.

6. Keep the database tidy

Old post revisions, expired transients and spam comments build up. Clean them out occasionally, and look for slow queries if particular pages lag.

7. Go easy on web fonts and scripts

Each font weight and third-party script is another download. Use fewer weights, host fonts yourself, and remove tracking or chat widgets you don't actively use.

8. Find your slowest pages

Speed problems are often concentrated on a few URLs, such as a search page or an oversized product category. Fix those first.

9. Make sure hosting isn't the bottleneck

If time to first byte is still slow after all of the above, the server may be the problem. Pages that can't be cached, like basket and checkout, depend on how many PHP workers your site gets and whether you share them with other sites.

Every PureHost site has its own PHP workers and memory, plus a slow-page report in the control panel. See WordPress hosting.

Start with a clean slate

Choose a plan and your account is set up as soon as your card payment goes through. Hosted somewhere else already? We'll carry your site across at no charge.