A 500 Internal Server Error is a generic error that means "something went wrong on the server." It doesn't tell you exactly what, so you have to play detective.
Fix 1: Check the .htaccess File (Most Common)
A corrupted .htaccess file is often the culprit.
-
Access your site via FTP or cPanel File Manager.
-
Navigate to the
public_htmlfolder and find the.htaccessfile. -
Rename it to something like
.htaccess_old. -
Reload your website. If it works, the
.htaccessfile was the problem. -
To generate a new default one for WordPress, go to Settings > Permalinks in your WordPress admin and click "Save Changes."
Fix 2: Increase PHP Memory Limit
If the error started after installing a plugin, you may need more memory.
-
Edit your
wp-config.phpfile and add this line:define('WP_MEMORY_LIMIT', '256M');
Fix 3: Check Error Logs
The real error is usually recorded in a log file.
-
In cPanel, look for the "Errors" or "Error Log" icon (often under "Metrics" or "Logs").
-
Open the latest error log. It will often tell you exactly which file is causing the problem (e.g., a specific plugin file).
Fix 4: Deactivate All Plugins (via FTP)
If you can't access your admin panel, deactivate all plugins manually:
-
Go to
/wp-content/via FTP. -
Rename the
pluginsfolder toplugins_old. -
This turns off all plugins. If the site works, rename the folder back and reactivate plugins one by one to find the bad one.