How to Solve Error 500 (Internal Server Error)

What is Error 500?

Error 500 (Internal Server Error) means that something on the server failed to process your request, but the server cannot identify exactly what. It is one of the most common errors in WordPress and PHP sites.

Most frequent causes

  • Syntax error in .htaccess
  • Corrupt or incompatible WordPress plugin
  • Theme with PHP errors
  • PHP memory limit exceeded
  • Incorrect file permissions

Solution 1 — Check the error log

  1. Go to cPanel → Metrics → Errors
  2. Or open File Manager and look for the error_log file in public_html
  3. Check the last lines — it will tell you exactly which file and line caused the error

Solution 2 — Verify the .htaccess

Temporarily rename your .htaccess to .htaccess_bak. If the site returns, the problem was in that file. In WordPress, go to Settings → Permalinks → Save Changes to regenerate it.

Solution 3 — Deactivate all plugins (WordPress)

Rename the folder public_html/wp-content/plugins to plugins_bak. If the site works, reactivate the plugins one by one until you find the culprit.

Solution 4 — Restore correct permissions

The correct permissions are: folders = 755, files = 644. You can verify them in File Manager → right click → Change Permissions.

Nothing worked? Open a support ticket with the site URL and the error log message. Our team will resolve it.