WordPress 500 Internal Server Error

Share
Workaround available Self-hosted WordPress (WordPress.org) Updated November 13, 2026Based on 4 user reportsHow we research

Quick answer

A 500 error means the server crashed before WordPress could answer. Rename .htaccess and regenerate it, then deactivate plugins and raise PHP memory.

Most likely fix: Regenerate .htaccess

How to fix it

Try these in order — the most common fix is first.

  1. 1. Regenerate .htaccess

    1. Over FTP rename .htaccess to .htaccess_old.
    2. Load the site. If it works, go to Settings > Permalinks and click Save to create a clean .htaccess.
    Did this fix it?
  2. 2. Deactivate plugins and switch theme

    1. Rename wp-content/plugins to plugins_old; if the error goes away, restore the name and reactivate plugins one by one.
    2. Switch to a default theme the same way.
    Did this fix it?
  3. 3. Increase the PHP memory limit

    1. Add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php, or ask your host to raise memory_limit.
    Did this fix it?
  4. 4. Re-upload wp-admin and wp-includes

    1. Download a fresh copy of WordPress and upload new wp-admin and wp-includes folders.
    Did this fix it?
  5. 5. Check the server error log

    1. In your host panel open the Error Log (or ask support). It names the exact file and cause, which is faster than guessing.
    Did this fix it?

Symptoms

The browser shows '500 Internal Server Error' or 'HTTP ERROR 500' on the site or on wp-admin only.

Why it happens

  • A corrupted .htaccess file
  • A faulty plugin or theme
  • PHP memory limit exhausted
  • Corrupted core files
  • Wrong file permissions or a server problem on the host

This guide also covers

  • wordpress 500 internal server error
  • wordpress http error 500
  • wp-admin 500 error

Still not working?

If WordPress keeps failing, you're not alone. See every WordPress problem users report or the alternatives people switch to.

Done fighting WordPress? Our small team builds your own WordPress alternative, made for how you work. On your domain or hosted by us. Price agreed together.

Get a quote
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other WordPress errors

All 11 WordPress errors and fixes →