Skip to content
›How to Fix the 500 Internal Se...

How to Fix the 500 Internal Server Error in WordPress (7 Steps)

In This Guide
Quick answer
  • A 500 Internal Server Error means something went wrong on the server, but it doesn’t say what.
  • The most common causes are a faulty plugin or theme, a corrupted .htaccess file, a low PHP memory limit or an incompatible PHP version.
  • Check your server error log first. It usually names the problem file.
  • Work through the fixes one at a time, and restore a backup if nothing works.
The 500 error is frustrating because it’s vague. The good news is that the cause is usually one of a few things. Here’s how to find and fix it.

Step 1: Check the error log

Look in your hosting dashboard’s error logs, or enable WordPress debug logging. The log often names the plugin or file causing the problem.

Step 2: Reset .htaccess

  • Connect via SFTP or your host’s file manager.
  • Rename .htaccess to .htaccess_old.
  • Reload the site. If it works, go to Settings → Permalinks and save to create a fresh file.

Step 3: Deactivate plugins

  • Rename the wp-content/plugins folder to plugins_old.
  • If the site loads, rename it back and reactivate plugins one by one to find the culprit.

Step 4: Switch to a default theme

Rename your theme’s folder so WordPress falls back to a default theme.

Step 5: Increase the PHP memory limit

Ask your host, or raise WP_MEMORY_LIMIT in wp-config.php.

Step 6: Check the PHP version

An outdated or too-new PHP version can break old plugins. Change it in your hosting panel.

Step 7: Contact your host

If nothing works, your host can check server logs and configuration.

Prevent it

  • Keep backups.
  • Update plugins one at a time.
  • Test big changes on a staging site.

FAQs

Sharing is caring

Popular on Bloggersutra Right Now!

Disclosure: Our content is reader-supported. If you click some of our links, we may earn a commission at no extra cost to you. See how Bloggersutra is funded. Here is our editorial process.

About the Editorial Staff

Editorial Staff at Bloggersutra is a team of WordPress writers led by Munish Siwatch, who has worked on website design and blogging since 2009. We write tutorials, reviews and guides that help beginners start, run and grow a WordPress website.

Join the Conversation

Leave a comment


Free WordPress Guides

Follow Bloggersutra for fresh WordPress tips.

WordPress Deals & Coupons

Save on hosting, themes, plugins and blogging tools.

Latest Posts

Start Your WordPress Blog

Follow our beginner guides, from choosing a host to publishing your first post.

Deals & Coupons

Up to 90% off + free domain
Up to 84% off + 2 free months
50% off every plan