Skip to main content
All fixes

Site Down or Erroring

How to Fix the 500 Internal Server Error

Updated

500 Internal Server Error

What's happening

A 500 Internal Server Error means your web server tried to build the page, hit a problem, and gave up. It won't say why. That's deliberate: the server hides the technical detail from visitors so it can't be used against your site. The reason is written in the server's error log, which most owners never see and don't need to.

Your content is almost always fine underneath. Your pages, posts, products and orders are still in the database. The server just couldn't finish turning them into a web page.

You may see it as "HTTP 500" or a plain "Internal Server Error" page. If your site says "There has been a critical error on this website" instead, that's WordPress's own wording for the same kind of crash. Here's what the critical error message means.

The shape of the error is a clue:

  • The whole site. Every page, including the login page. Usually a plugin, theme or settings fault that affects everything.
  • Only the admin area. Visitors see the site, but you can't get into the dashboard. Often a plugin that only runs in the admin.
  • Only after a form submit or checkout. The site looks fine until someone sends a form or places an order. The fault is in the code handling that step. If it's your shop, here's what to do when WooCommerce checkout stops working.
  • Now and then, under traffic. The site throws 500s when it gets busy. That points to a resource limit rather than a broken file. A site that does this repeatedly has a pattern worth reading.

Related errors look similar but mean different things. A 502 means a server in front of your site got no usable reply from the one behind it. A 503 means the server is up but too busy or switched off on purpose. A 504 means the server took too long and a timer gave up. Those usually point to the host or a resource limit, though a slow plugin can cause a 504 too. Not sure it's down for everyone? Start with is my website down, or is it just me.

Why it happens

The 500 is a catch-all, which is what makes it frustrating: the message is the same no matter what went wrong. The causes we actually find, roughly in order:

  • A plugin or theme fault, usually after an update. A plugin updates, it doesn't agree with another plugin, your theme or your version of WordPress, and the site crashes. Here's what a plugin conflict is.
  • A damaged configuration or rewrite file. WordPress relies on a couple of small behind-the-scenes files that tell the server how to handle addresses and settings. A plugin, a migration or a hand edit can leave one with a bad line, and one is enough. When only the address rules are damaged, you tend to see every page showing a 404 instead.
  • The memory limit. The site needed more memory than the host allows, usually because of a heavy plugin or page builder. Sometimes the screen names it; often it's just a 500. Here's what the memory exhausted error means.
  • A PHP version mismatch. The host changed the version of PHP, the language WordPress runs on, and an older plugin or theme can't run on it. Here's what happens after a PHP upgrade.
  • Wrong file permissions after a move. After a migration or host change, the server may not be allowed to read the files it needs. That more often shows as a 403 Forbidden error, but a 500 is possible too.
  • A hacked file. Malware sometimes edits a core file badly enough to crash the site. If the 500 arrived alongside strange redirects, a security warning or an admin user you don't recognize, treat it as a possible hack until proven otherwise.
  • The host's server itself. Occasionally nothing on your site changed; the server is overloaded or misconfigured. Your host's status page will show whether other customers see it too.

From the outside, we can't tell which it is. A 500 from a plugin looks identical to one from a hack or a hosting limit. The error log separates them, and reading it is the first step of every repair.

What you can safely try

  • Check whether it's every page or just one. Open the homepage, a normal page and the login page. The pattern narrows things down.
  • Think back to what changed last. A plugin update, a new plugin, a theme change, a host migration, a PHP notice from your host. The latest change is the usual trigger.
  • Reload once, wait a little, and reload again. If it clears, the server was briefly overloaded. If it stays, something is broken.
  • Clear your browser cache, or open the site in a private window, so you're not looking at a saved copy.
  • Check your host's status page for an outage notice.
  • Don't reinstall WordPress, delete plugins or restore a backup to see what happens. That can remove the evidence of what broke, and a blind restore can roll back orders and content without fixing the cause.
  • Don't paste a fix from a forum into your .htaccess or settings files. One wrong character turns a 500 into a site that won't come back at all.

When to call us

We work on business websites, and a 500 is a standard repair for us. We read the server's error log to find the exact line that failed, confirm the cause on a copy of your site rather than the live one, then fix or replace what broke: rolling back a plugin, repairing a damaged settings file, raising a memory limit, matching the PHP version or cleaning out a hacked file. Afterward we check your key pages, forms and checkout, so you know it's working, not just loading.

An emergency fix is a flat rate from $149, and you approve the price before any work starts. Here's what fixing a broken WordPress site usually costs. If you'd rather not think about the next one, every care plan includes unlimited fixes like this, with updates tested on a copy of your site first.

Common questions

Is my website data lost?
Almost never. A 500 error is about the site failing to load, not your content being deleted. Your pages, posts, orders and images are still in the database. Once the underlying cause is cleared, everything comes back as it was.
Why does the error give me no details?
By design. WordPress and your server hide technical errors from visitors so they can't be used against you. The real detail lives in the server's error log, which is where the actual cause almost always shows up.
Will a 500 error fix itself?
Sometimes, if the cause was a brief overload on the server. If the cause is a plugin, theme or settings fault, it stays until someone finds and fixes it. A 500 that comes back on every reload is unlikely to clear on its own.
Should I restore a backup to fix it?
Not blindly. A restore can roll back orders, form entries and content added since the backup was taken, and if the cause is a hosting setting or a hack it can come straight back. We find the cause first, then decide whether a restore is the right move.

Want this fixed for you?

Emergency WordPress Fixes

From $149, flat rate. You approve the price before we start.

Not an emergency? Get a free audit of your site, done by a person, no obligation.