An HTTP 500 Internal Server Error is a commonly encountered error. It is often temporary and is a general server error response.
Error message
↑ Back to topGenerally, an HTTP 500 Internal Server Error’s output is not descriptive and does not help narrow down the cause of the issue. It is considered best practice to show a generic error like the one displayed below on live/production sites:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [support email] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
[server/port information]
If you encounter a persistent internal server error, you will need more information to troubleshoot it.
Debugging
↑ Back to topTo enable WordPress debugging mode:
- Connect to your site using Secure File Transfer Protocol (SFTP).
- Open the file named
wp-config.php
. - Look for the following line of code:
define('WP_DEBUG', false);
- Change the value from
false
totrue
. - Save the file.
Note: If the value in the line mentioned above is already set as true
, another extension, plugin, or server configuration may be suppressing the error output.
Refresh the page you saw the error on; you should now see more descriptive error messages which will help in troubleshooting. Learn more about debugging in WordPress.
Contact your host
↑ Back to topSince this is a server-level error, you’ll often find further details in server error logs. Your hosting provider can usually help you find these if they are available.