Skip to content
0850 554 5439 [email protected]

What do you need help with?

Search the guides and tutorials, or browse the categories.

My WordPress site is slow: speed it up with caching, PHP, images and plugins

Shared Hosting 37 views Step-by-step guide Last verified: Markdown
What you will learnSix steps to speed up a slow WordPress site, starting with the biggest impact: update PHP, add a caching plugin, shrink images, remove unused plugins and themes, turn on compression and measure the result.
Time10 minutes (plus measuring)

1. Why it matters

Slow pages lose visitors; on mobile especially, a delay of a few seconds is enough for people to leave. Search engines also take page speed into account.

On WordPress, most slowness comes from inside the site rather than the server: an old PHP version, uncached pages, large images and too many plugins. You can do every step in this guide yourself from cPanel and WordPress.

Speed-up steps ordered from biggest to smallest impact; measure again after each one.

2. Measure first

  1. On PageSpeed Insights, enter your site address and click Analyze.
  2. Note the mobile and desktop scores, especially Largest Contentful Paint (LCP).
  3. Repeat the same measurement after each step so you can see which change helped.
Info

Measure in a browser where you are not logged in, or in a private window. Most caching plugins don't serve cached pages to logged-in administrators.

3. Update the PHP version

Newer PHP versions run the same code noticeably faster than older ones. If you are on an old version (for example 7.4), this single step can make a visible difference.

  1. In cPanel, open MultiPHP Manager in the Software section.
  2. Check the PHP Version column for your domain in the table.
  3. To change it, tick the box next to the domain, choose the new version in the PHP Version list at the top right and click Apply.
MultiPHP Manager shows which PHP version your site runs on; to change it, follow guide B34.
Warning

Old themes and plugins may throw errors on a new PHP version. Back up first, then check both the front end and the dashboard. If something breaks, switch back to the previous version on the same screen. See B34 for details and PHP settings.

4. Install a single caching plugin

On every request WordPress runs PHP and queries the database. A caching plugin keeps a ready-made copy of each page and serves that copy to the next visitors.

  1. In cPanel, open WordPress Manager by Softaculous and click Manage Plugins on your site's row.
  2. Go to the Add Plugins tab and type cache in the search box.
  3. Pick one caching plugin from the list and click Install. You can also install it from the WordPress dashboard (Plugins → Add New Plugin).
In Manage Plugins → Add Plugins, search for "cache" and install a single caching plugin.
  1. Turn on page caching in the plugin's settings; start with the recommended options.
  2. Open your site in a private window and check that pages look right and that forms and the cart still work.
Info

As described on our WordPress Hosting page, on plans running the LiteSpeed web server the LiteSpeed Cache plugin uses server-side caching. If you're not sure which web server your site runs on, ask us in a support ticket or pick a general-purpose caching plugin.

Warning

Never run two caching plugins at once. They break each other's cache, and pages show stale content or don't load at all.

5. Shrink your images

On most sites, images make up the largest part of the page weight.

  1. Resize images to the size they will be shown at before uploading. A 4000-pixel-wide phone photo should not be uploaded at full size into a 1200-pixel-wide area.
  2. Use WebP where you can; it is much smaller than JPEG at the same quality. Current WordPress versions accept WebP uploads.
  3. For images already uploaded, you can use an image compression plugin. Check in its description whether it sends your images to an external service.
  4. WordPress applies lazy loading to images automatically; unless your theme or a plugin turned it off, nothing else is needed.

6. Remove unused plugins and themes

Every active plugin runs a bit more code on every request. An inactive plugin costs no speed, but if it isn't updated it can leave a security hole.

  1. In the Manage Plugins window, open the Installed tab.
  2. If you don't use a plugin whose Status switch is grey (inactive), remove it with the Delete icon.
  3. Review the active plugins one by one: if two plugins do the same job, remove one.
On the Installed tab, remove inactive plugins (grey Status switch) with the Delete icon.
  1. Do the same for themes with the Manage Themes button. Keep only your active theme and one default WordPress theme as a fallback.
In Manage Themes → Installed, delete themes you don't use; keep only the active theme and one default theme as a fallback.

7. Turn on compression

Compression shrinks HTML, CSS and JavaScript files before they are sent to the browser.

  1. In cPanel, open Optimize Website in the Software section.
  2. Under Compress Content, select Compress All Content.
  3. Click Update Settings.
In Optimize Website, select Compress All Content and click Update Settings.
Info

If your caching plugin also offers a compression option, having both on does no harm; the browser receives compressed content only once.

8. Measure and monitor

  1. Run PageSpeed Insights again and compare with your first notes.
  2. If the score didn't improve, look at the Opportunities and Diagnostics sections; they usually name the image or script slowing the page down.
  3. If the site is slow only at certain times, or the dashboard is slow too, open a support ticket with the time of the slowdown and the address of the slow page.

9. Common problems

Symptom Cause Fix
Changes don't show after installing a caching plugin The old page is still cached Click the plugin's "clear cache" button.
"Critical error" after changing PHP A theme or plugin isn't compatible with the new version Switch back in MultiPHP Manager; update the plugin and try again (B34).
The score doesn't change Measured while logged in, or large images remain Measure in a private window; shrink the images named in the report.
The layout breaks The caching plugin's CSS/JS combine option Turn combine and minify options off one by one and test.
The dashboard is very slow too A heavy plugin or a background scheduled task Disable recently added plugins; for scheduled tasks see B39.

10. FAQ

Which caching plugin do you recommend?

Choosing one plugin and starting with its recommended settings matters more than which one you pick. On plans running the LiteSpeed web server, LiteSpeed Cache can use server-side caching; the WordPress Hosting page describes those plans.

Can changing the PHP version break my site?

Old, incompatible plugins may throw errors, but the change is reversible. Back up, change, then check the site. If there's a problem, switch back.

Will a bigger plan make my site faster?

Yes, if the site is slow because it hits its resource limits. In most cases, though, the steps in this guide make a bigger difference first. If it's still slow afterwards, open a support ticket and we'll look at it with you.

Is deactivating plugins enough, or should I delete them?

Delete plugins you won't use. An inactive plugin costs no speed, but it can become a security hole if it isn't updated.

Does the free SSL slow my site down?

No. On current browsers and servers the speed impact of HTTPS is negligible, and fast protocols such as HTTP/2 and HTTP/3 only work over HTTPS anyway.

Did you know?

WordPress Hosting plans are prepared for WordPress, and on Türkiye plans your data stays in our Istanbul data centre. See the WordPress Hosting page for current plans.

Next step

  • B34: Changing the PHP version and PHP settings
  • B38: Hosting settings and security checklist for a WooCommerce store
  • B39: Replacing WordPress wp-cron with a real cron job
Was this helpful?

Thanks for your feedback!

Still Need Help?

The support team is here around the clock for anything you can't find in the knowledge base.