All posts

Blog

Why Is My Website Suddenly Slow? A Step-by-Step Troubleshooting Guide

Illustrated cover for the Troubleshooting guide "Why Is My Website Suddenly Slow? A Step-by-Step Troubleshooting Guide"

A site that has always been slow is a design and optimization problem. A site that was fine yesterday and is suddenly slow today is a troubleshooting problem. Something changed, and your job is to find out what.

This guide gives you a practical order to work in, from quick checks you can do in a minute to deeper digging in your hosting account.

Step 1: Confirm it's really slow (and for whom)

Before changing anything, gather facts.

  • Test from another network. Use your phone on mobile data. Slow Wi-Fi or a busy office connection can make every site feel slow.
  • Run a speed test with an online tool from a few locations. Our guide on how to test website speed explains which numbers matter.
  • Note what's slow. Is it every page, only the homepage, only the admin area, or only checkout?
  • Check the first response time. If the "time to first byte" is high, the server is slow to build the page. If the first byte is quick but the page takes ages to finish, the problem is more likely large files or slow third-party scripts.

Write down what you find. It will help you, or your host's support team, narrow things down.

Step 2: Ask "what changed?"

Sudden slowdowns usually follow a change. Think back over the last few days:

  • Did you install or update a plugin, theme or extension?
  • Did you add a new tracking script, chat widget or ad code?
  • Did you upload large images or videos?
  • Did you change DNS, a CDN, or a caching setting?
  • Did you launch a campaign or get mentioned somewhere popular?

If you can link the slowdown to a change, undo that change first and test again. It's the fastest fix there is.

Step 3: Check for traffic spikes and bots

More visitors means more work for your server. Sometimes that's good news, and sometimes it's bots.

  • Look at your analytics for a jump in visitors.
  • In cPanel, check Metrics > Visitors or Raw Access logs. In DirectAdmin, check your site's statistics and access logs.
  • Look for one IP address or user agent making a huge number of requests, or heavy requests to wp-login.php or xmlrpc.php.

Aggressive crawlers and login attacks can slow a site badly. Our guide to stopping brute-force login attacks covers how to block them, and a CDN can absorb much of this load.

Step 4: Check your hosting resource usage

Most hosting plans limit CPU, memory, simultaneous processes and disk I/O. When your site hits those limits, requests queue up or are slowed down rather than failing outright, which looks exactly like a sudden slowdown.

  • In cPanel, look for Resource Usage (on servers using CloudLinux) to see if you've been hitting limits.
  • Check whether your disk is nearly full, which can slow or break things.
  • Look for error messages about "resource limit reached" or 508 errors.

Our guide to hosting resource limits explains what each limit means. If you're regularly at the limit with legitimate traffic, it may be time to optimize or upgrade.

Step 5: Check caching

Caching is one of the biggest speed factors on any dynamic site. If it's switched off, broken or constantly being cleared, every visitor forces the server to build pages from scratch.

  • Confirm your caching plugin is active and configured.
  • Check that a recent update didn't disable it.
  • Look at response headers (your browser's developer tools show them) to see if pages are being served from cache.

For WordPress sites on LiteSpeed servers, see speeding up WordPress with LiteSpeed Cache.

Step 6: Look for a slow plugin, theme or script

If the backend is slow (high time to first byte), a plugin or theme may be doing too much work on every page load.

  1. Make a backup.
  2. Use a staging copy if you have one.
  3. Disable plugins one at a time, or all at once and then re-enable them in batches, testing speed after each step.
  4. Switch temporarily to a default theme to see if the theme is the cause.

Third-party scripts matter too. A slow external service, like a chat widget, font provider or social feed, can hold up the whole page. Your browser's developer tools Network tab will show which requests take longest.

Step 7: Check the database

Over time, databases collect old revisions, expired temporary data, spam comments and logs from plugins. A plugin bug can also fill a table very quickly.

  • Check your database size in your control panel.
  • Look for unusually large tables in phpMyAdmin.
  • Clean up revisions, spam and expired transients with a reputable optimization plugin, after taking a backup.

Step 8: Check error logs

Errors often slow things down before they break things. A plugin repeatedly failing to connect to an external service, or PHP running out of memory, can show up as slowness. Check your hosting error logs and any application logs. Look for repeated entries around the time pages feel slow. If you see memory errors, see fixing the WordPress memory limit error.

Step 9: Check for malware

A sudden slowdown, especially with strange outgoing traffic, unknown files or new admin users, can be a sign of a compromise. Run a malware scan and review recently changed files. If something looks wrong, follow our guide on what to do if your website is hacked.

Step 10: Contact your host

If you've checked your side and nothing explains it, the problem could be on the server or network. When you contact support, share:

  • When the slowdown started
  • Which pages are affected
  • Your speed test results and time to first byte
  • Anything you've already ruled out

That information helps support check server load, network issues or account limits quickly.

Preventing future slowdowns

  • Keep a simple change log of updates and new plugins.
  • Use caching and a CDN.
  • Optimize images before uploading; see how to optimize images for the web.
  • Set up uptime and performance monitoring so you hear about problems early.
  • Review plugins and scripts a few times a year.

Wrapping up

When a website is suddenly slow, don't start changing everything at once. Confirm the problem, ask what changed, check traffic and resource limits, then work through caching, plugins, the database and logs. Change one thing at a time, and you'll usually find the cause and get your speed back without guesswork.

Related reading: How to Read Server Error Logs: A Beginner's Guide to Finding What Broke.