Account

Error guide / 500 Internal Server Error

How to fix a 500 Internal Server Error

A 500 Internal Server Error is the server's generic report that something failed on the site side, without naming the cause. The page does not load even though the server itself is running. The actual reason is almost always written in the error log.

Check your site

>

What causes it

Typical causes are a bug in the code or a plugin, a broken .htaccess, too little PHP memory, or a PHP version that no longer suits the site after an update.

How to fix it

  1. Open the server error log (in cPanel it is the Errors section or the error_log file). It names the exact file and line.
  2. Temporarily disable plugins or undo recent changes to see what breaks the site.
  3. Rename .htaccess to .htaccess_old and check whether the error disappears.
  4. Raise the PHP memory_limit and confirm that the selected PHP version still suits your site.
  5. Make sure files have permissions 644 and folders 755, and that the main file is not corrupted.
  6. If the log is empty or unclear, contact hosting support and tell them the time the error appeared.

Related errors