Prefer email? hello@boltpress.co

Free with any plan

WordPress 500 internal server error

A 500 Internal Server Error means the server failed to send the page, and the page never says why. On WordPress the usual causes are a broken .htaccess rule, a PHP setting the server rejects, wrong permissions or a PHP crash. We read the server logs, fix the rule, setting or file at fault, and check the site loads.

  • Quick Fix $149
  • If we can't fix it, you don't pay
  • WordPress and WooCommerce

Sound familiar?

  • Every page says "500 Internal Server Error", and wp-admin does too
  • The browser says the page isn't working and shows HTTP ERROR 500
  • It started after a plugin, your host or someone on your team changed .htaccess or a server setting
  • The site broke after a move to a new host, a backup restore or a PHP change
  • Saving a page or running an import fails, and the browser's network tab shows a 500
  • There is no WordPress message and no email about a technical issue

Error messages you might see:

  • Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request.
  • 500 Internal Server Error
  • This page isn't working. example.com is currently unable to handle this request. HTTP ERROR 500
  • Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
  • Request exceeded the limit of 10 internal redirects due to probable configuration error.

Why does this happen?

A 500 Internal Server Error means the web server could not finish handling the request. The page never says what failed. On WordPress the cause is usually one bad line of server configuration, a PHP setting, a permission problem or a PHP crash that happened before WordPress could show its own message.

The causes we find most often:

  • A broken .htaccess file. On Apache and LiteSpeed servers, this small file in your site’s main folder holds rewrite and security rules. WordPress writes its permalink rules there, and caching, security and redirect plugins add their own. One line the server cannot read takes down every page, wp-admin included, before WordPress even starts. A rewrite rule that keeps sending the request back through the same rules, often after a move to a subfolder, produces the “exceeded the limit of 10 internal redirects” message in the log.
  • PHP settings in the wrong place. Lines starting with php_value or php_flag in .htaccess only work on some setups, such as PHP running as an Apache module or on LiteSpeed. Many hosts now run PHP through PHP-FPM, where those lines cause an instant 500 with “Invalid command ‘php_value'” in the log. This often appears after a host moves the site to a new server or changes how PHP runs.
  • File permissions or ownership after a move or restore. If files are locked too tightly, the server cannot read them. If they are wide open, some hosts refuse to run them. Restores and migrations are the usual trigger.
  • A PHP fatal error WordPress could not catch. A mistake in wp-config.php, or a crash very early in loading, leaves the server with nothing to send. With error display switched off, as it should be on a live site, the browser just shows “HTTP ERROR 500”.
  • A fault on the server itself. PHP crashing, a host configuration change or a server security rule blocking a request can all return a 500. These sit outside your site’s files, so the host’s logs matter most.

Try this first

Steps 1, 2 and 4 change nothing on your site. Step 3 is reversible as long as you keep the downloaded copy. Stop as soon as one gives you an answer.

  1. Work out how far it reaches. Open the homepage, a product or post, and /wp-admin/ in a private browser window. Every page failing points at server configuration or .htaccess. Only one page or action failing, such as checkout or saving a post, points at the code that runs there. Note the time you saw it and the exact wording.
  2. Read the error log. Your hosting control panel has one; in cPanel it is under Metrics, Errors. Look at the newest lines from the time the page failed. “Invalid command”, “internal redirects” or “.htaccess” means server configuration. “Permission denied” means file permissions. “PHP Fatal error” naming a plugin or theme means it is a code fault, so follow our critical error fix instead.
  3. Test .htaccess, carefully. In your host’s file manager, download a copy of .htaccess first. Then rename it to .htaccess-old and reload the site. If nothing changes, rename it back. If the homepage comes back, that file was the cause: log in to wp-admin, go to Settings, Permalinks and click Save Changes so your other pages load again. The fresh file holds only the WordPress rules, so anything else the old one held is gone for now, which can include your host’s PHP version setting, an HTTPS redirect and caching or security plugin rules. Keep the old copy and hand it over so the safe lines go back. Sites on Nginx have no .htaccess, so skip this step.
  4. Ask your host what changed. Give them the time and the address that failed, and ask whether they changed the PHP version, how PHP runs, or a security rule. They can see server logs you cannot.

Hand it over if the log mentions permissions or ownership, because changing permissions in bulk can open security holes or break the site further. Hand it over too if .htaccess contains rules nobody on your team recognises, which can be a sign of a hacked site, or if checkout is failing on a live store. Our WordPress update recovery guide covers the case where the 500 started straight after an update.

Why did it start after moving host or restoring a backup?

A move changes more than the address of your files. The new server may run a different PHP version, run PHP in a different way, give files a different owner, or lack a module the old server had. A .htaccess file that worked for years can fail on the first request. Restores bring back old permissions and old rules along with your content. We compare what the site expects with what the new server provides and fix the mismatch, rather than copying settings across and hoping.

How is this different from a critical error or a blank page?

The three can share a root cause, but they start in different places. The critical error notice means WordPress caught a PHP crash and is telling you about it. A plain 500 page usually means the failure happened outside WordPress or before it loaded, so there is no recovery email and no recovery mode link. A completely empty page with no message is covered by our white screen fix.

If none of these match, see the full list on the Fix WordPress page.

What's included

Included

  • Reading the web server and PHP error logs to find the exact request and line behind the 500
  • Repairing or rebuilding the .htaccess file and removing rules your server cannot run
  • Correcting file and folder permissions and ownership after a move or restore
  • Moving PHP limits such as memory and upload size to the place your server actually reads them
  • Isolating a plugin or theme fault when the log points at one
  • Sending your host a clear, evidence-backed request when the fault sits in their server configuration
  • Checking key pages afterwards, a test order on WooCommerce stores, and a short written report

Not included

  • Moving the site to a new host or a new server
  • Administering a server you run yourself, such as rebuilding a VPS or its web server
  • Repairing faults inside your host's own platform; we document them and hand them to the host
  • Rewriting custom code that is broken by design

When it becomes a Comprehensive Fix job: If the 500 has several causes at once, for example a failed migration that left wrong permissions, missing files and a broken database, it needs the deeper diagnosis of a Comprehensive Fix. We say so before doing any extra work.

How it works

  1. Secure access

  2. Full backup

  3. Diagnose (on staging for stores)

    We read the error logs and PHP warnings first.

  4. Fix

  5. Verify (a test order on WooCommerce)

  6. Report

    A written handover: what broke, what we did and what to watch.

Two ways to get it fixed

Pay once for this fix, or get it free when you join a care plan.

Free with any plan
  • Essential $89 per month · 1 work hour
  • Managed Priority support $249 per month · 3 work hours
  • Complete Priority support $399 per month · 5 work hours

Includes 1 free fix, then monthly work hours.

Care plans open soon

Quick Fix
$149

Single-issue resolution: fatal errors, plugin/theme conflicts, update failures, PHP version upgrades.

Fix it for $149 : 500 server error

If we can't fix it, you don't pay.

Bigger than one cause? Comprehensive Fix $349: 500 server error

Prices in USD.

Refunds are handled by email: support@boltpress.co

What we need from you

  • Hosting control panel access, or SFTP plus a way to read the server error log
  • A WordPress administrator login, if wp-admin still loads
  • What changed before the error, such as a new plugin, a host move, a restore, a PHP switch or an .htaccess edit
  • The name of your host and plan, so we know which web server and PHP setup you run

Frequently asked questions

What does a 500 Internal Server Error mean on a WordPress site?

It is the web server's way of saying something went wrong while handling the request, without saying what. The page itself carries no clues. The answer is in the server or PHP error log, which records the exact rule, file or setting that failed at the moment the page broke.

Is this the same as "There has been a critical error on this website"?

Not quite. Look at the page itself. The critical error notice is a short line of text from WordPress itself. A 500 page is a bare server page or your browser's "HTTP ERROR 500" screen, and no recovery email follows. If you see the critical error text, use our critical error fix instead.

Is it my host's fault?

Sometimes. A changed PHP handler, a server update or a security rule on the host's side can all cause a 500. Just as often the cause is a rule a plugin wrote into .htaccess, or a setting added in the wrong file. The error log tells the two apart, and we take the evidence to your host when it is theirs.

Have I lost my content or orders?

Almost certainly not. The server failed to serve the page; it did not touch the database where your content and orders live. The real risk comes after a host move or a restore: if the copy was taken before your last orders arrived, those orders exist only on the old server. We check both before anything is switched over.

Should I set all my files to 777 to fix permission errors?

No. Making every file writable by anyone is a security hole, and on some hosts it causes a 500 of its own, because the server refuses to run PHP files that anyone can change. WordPress recommends 644 or 640 for files and 755 or 750 for folders, with wp-config.php locked down further.

Why does the 500 error keep coming back after I fix .htaccess?

Something keeps rewriting the file. Caching, security and redirect plugins add their own rules, and some rewrite them whenever their settings are saved. If one of those plugins writes a rule your server cannot run, the error returns. We find which rule fails and stop it being written again.

What about 502, 503 and 504 errors?

They are close relatives. A 502 or 504 usually means the web server gave up waiting for PHP; a 503 means the service is unavailable. If the page says "Briefly unavailable for scheduled maintenance", an update stopped halfway; see our site broken after an update fix. Otherwise the same logs tell us whether to fix your site or show your host evidence that the server is too small for your traffic.

Stop fighting your website.
Let us fix it.

If we can't fix it, you don't pay.