How to Speed Up a WordPress Site

Affiliate Disclosure: Some links on this page are affiliate links. If you purchase through our links, we may earn a commission at no extra cost to you.

A slow WordPress site loses visitors and makes everything harder, from search to sales. The good news is that most of the gain comes from a short list of fixes. Work through them in order and measure after each one so you know what helped.

Step 0: Measure first

Run your homepage and one post through PageSpeed Insights. Note the mobile score and the three Core Web Vitals: Largest Contentful Paint (LCP), Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS). Write the numbers down. Test again after each change. Results vary a little from run to run, so look at the trend, not a single number.

1. Use decent hosting and a current PHP version

Hosting sets the floor. If the server is slow to respond, no plugin will fully fix it. In your hosting control panel, check that you are on a current, supported PHP version, since newer versions run WordPress faster and get security fixes. If the server response time stays slow even with caching on, that is the sign to talk to your host or move.

2. Turn on page caching

Caching saves a finished copy of each page so WordPress does not rebuild it for every visitor. Many hosts include a cache. LiteSpeed servers work with the LiteSpeed Cache plugin, and other setups can use plugins such as WP Rocket (paid) or WP Super Cache. Use one caching plugin only, and clear the cache after you change the site.

3. Fix your images

Images are usually the largest files on a page.

  • Resize them to the size they are shown. A 4000 px photo in a 800 px column wastes bandwidth.
  • Use modern formats such as WebP, which WordPress supports.
  • Compress them with a plugin or before you upload.
  • Lazy-load images below the fold. WordPress does this by default for most images. Do not lazy-load the main image at the top of the page, since that one affects LCP.

4. Remove plugins you do not need

Every plugin adds code. Deactivate and delete those you do not use, and replace heavy ones with lighter ones when you can. The number of plugins matters less than what each does: a single badly written plugin can slow every page. After you remove one, test again.

5. Pick a lighter theme or trim the one you have

Themes with many bundled features load scripts and styles on every page. If your score is low and your theme is heavy, a lighter theme can help more than any tweak. See how to choose a WordPress theme for what to check.

6. Reduce what loads from other sites

Chat widgets, ad scripts, social embeds and font files from other domains each add requests. Keep the ones you need and remove the rest. Host fonts locally if you can, and load only the weights you use.

7. Clean up the database

Old post revisions, spam comments and expired transients pile up. Limit revisions, empty spam, and use a database cleanup plugin carefully. Take a backup first.

8. Use a CDN if your visitors are spread out

A content delivery network serves files from servers near the visitor. It helps most when your readers live far from your host. Many hosts include one, so check your plan before you add another.

A sensible order

  1. Measure and note the baseline
  2. Update PHP, WordPress, theme and plugins
  3. Turn on caching
  4. Fix large images
  5. Delete unused plugins
  6. Review the theme and third-party scripts
  7. Measure again

Always take a backup before you make changes to a live site. If you also work on search visibility, pair this with a good SEO setup. We compare options in Best WordPress SEO Plugins Compared.

Leave a Comment