Knowledgebase

How to fix a 500 Internal Server Error

A 500 error means the server could not run your page. The most common causes and fixes:

  1. Check the error log. In cPanel open Errors (or the error_log file in your site folder) - the last lines usually name the file and problem.
  2. Rename .htaccess. In File Manager rename it to .htaccess-old and reload the site. If it works, the file had a wrong rule (for WordPress, re-save Permalinks to recreate it).
  3. Check PHP version and memory. A plugin or theme may need a different PHP version or more memory_limit (see How to change the PHP version).
  4. Check permissions. Folders should be 755 and files 644.
  5. Disable recent changes. Deactivate the last plugin or theme you added (rename its folder in wp-content/plugins).

Still stuck? Open a ticket with your domain and the last lines of the error log.

Was this answer helpful?

0 Users Found This Useful