1. Check your email
WordPress often emails the site’s admin address when a plugin or theme crashes. The email names the cause and includes a link to log in using recovery mode, where you can turn off the problem plugin or theme.2. Find the error message
1
Check the error log
Log in to cPanel and open Errors. The most recent errors appear at the top. Look for a mention of
wp-content/plugins/ or wp-content/themes/. The folder name after it is usually the cause.2
Or turn on debugging
In File Manager, open Reload your site, then open
wp-config.php and find define( 'WP_DEBUG', false );. Change it to:wp-content/debug.log to read the error.3. Turn off all plugins
If you can’t find the cause, turn off every plugin at once:1
Rename the plugins folder
In File Manager, go to
public_html/wp-content/ and rename the plugins folder to plugins-off.2
Check your site
If your site now works, a plugin was the cause. Rename the folder back to
plugins.3
Find the plugin
Log in to WordPress, go to Plugins, and activate them one at a time, checking your site after each. When it breaks again, you’ve found the cause. Delete that plugin, or look for an update or replacement.
4. Switch to a default theme
If plugins weren’t the cause, the theme may be. In File Manager, go towp-content/themes/ and rename your current theme’s folder. WordPress falls back to a default theme, such as Twenty Twenty-Five, if one is installed.
5. Check PHP version and memory
- PHP version: a theme or plugin may not support your PHP version. In cPanel, open Select PHP Version and try the version it supports.
- Memory limit: “Allowed memory size exhausted” in the error means PHP ran out of memory. Raise
memory_limiton the Options tab of Select PHP Version.
6. Reset the .htaccess file
A damaged.htaccess file can cause 500 errors. In File Manager, turn on Show Hidden Files in Settings, then rename .htaccess in public_html to .htaccess-old. If your site works, log in to WordPress and go to Settings → Permalinks, then click Save Changes to create a fresh file.