SiteCheck home / Help centre

How to Fix a 500 Internal Server Error

Troubleshoot a 500 Internal Server Error with server logs, recent changes, application settings, and hosting diagnostics.

A 500 Internal Server Error is a general server-side failure. The response alone usually does not identify the underlying cause.

Common causes

  • An application exception or faulty deployment.
  • Incorrect server configuration or rewrite rules.
  • Missing environment variables or unavailable dependencies.
  • Resource limits, database failures, or file permission issues.

How to investigate

  1. Refresh once to rule out a temporary failure.
  2. Check application and web-server logs at the exact time of the error.
  3. Review the most recent deployment, plugin, theme, or configuration change.
  4. Verify environment variables and required services without exposing secrets.
  5. Roll back a recent change if logs point to it and a rollback is safe.
  6. Contact your host with the timestamp and relevant error details if the cause is unclear.

Avoid showing stack traces, passwords, or internal paths to public visitors. Log technical details privately and show a helpful generic error page.

Check your website for related issues

SiteCheck can review publicly observable SEO, security configuration, accessibility, performance, and link signals. Automated results are a starting point and may need manual confirmation.

Start a website audit — $15.99 CAD

More help guides