Have you ever encountered the 500 error from the internal server on your WordPress website?

The following is a guide to fix the 500 Internal Server Error that every WordPress website has encountered once. Because this error does not provide any information, many people are very upset about this problem.

Why do you get 500 internal server error in WordPress?

Why are you getting a 500 internal server error in your WordPress site and not any other site code?

Internal server error 500 is not specific to WordPress. It can happen to any website running on a web server. Due to the general nature of this error, it doesn’t notify the developer anything.

The 500 internal server error in WordPress is often caused by a plugin or theme’s functionality. Other possible causes of 500 internal server error in a WordPress site are: corrupt .htaccess file and PHP memory limit.

fix 500 Internal Server Error in WordPress
Instructions to fix 500 Internal Server Error in WordPress

Furthermore, the internal server error only shows up when you are trying to access the admin area while the rest of the site works fine.

How to fix internal server errors in WordPress?
Check for Corrupt .htaccess files
The first thing you should do when troubleshooting this is to check for a corrupt .htaccess file.

You can do so by renaming the .htaccess file to something like .htaccess_old. To rename the .htaccess file, you need to log in to your website using an FTP client or a File Manager app in your hosting account’s cPanel control panel.

Once you’re connected, the .htaccess file will be in the same folder where you’ll see folders like wp-content, wp-admin, and wp-include.

internal server errors in WordPress?

Once you’ve renamed the .htaccess file, visit your site to see if this fixes the problem.

Before you continue with anything else, make sure that you go to Settings » Permalinks page in WordPress admin area and click save without making any changes. This will create a new .htaccess file for you with proper rewrite rules to ensure that your posting pages don’t return 404 errors.

How to increase PHP memory limit on WordPress?
Sometimes internal server errors can occur if you use up your PHP memory limit. Let’s increase the PHP memory limit in WordPress to fix that.

If you are only getting an internal server error when trying to login to your WordPress admin or upload images in wp-admin, then you should increase the memory limit by following these steps:

1. Create an empty text file named php.ini
2. Paste this code there: memory = 64MB
3. Save the file
4. Upload it to your /wp-admin/ folder using FTP

Some users have said that the above fixed the admin side issue for them.

If increasing the memory limit fixed the problem for you, it’s only a temporary fix. You still need to figure out what caused your memory to drain.

This could be a poorly coded plugin or even a theme function. We strongly recommend that you ask your WordPress hosting provider to review the server logs to help you find the correct diagnosis.

Deactivate all WordPress Plugins related to internal server errors.
If none of the above solutions work for you then most likely this error is caused by a specific plugin. It can also be a combination of plugins that are not so good.

Sadly, there’s no easy way to figure this out. You must deactivate all WordPress plugins at once.

If disabling all plugins fixed the error then it was one of the plugins causing the error.

Just go to the WordPress admin area and click on “Plugins”. Now you need to reactivate the plugins one by one until you find the plugin that is causing the problem. Remove that plugin and report the bug to the plugin author.

Re-upload key files
If the plugin option does not fix this then you should reload the wp-admin and wp-include folders from a fresh WordPress installation.

This won’t delete any of your information, but it can solve the problem in case any files get corrupted.

First, you need to visit the WordPress.org website and click Download.

This will install the WordPress zip file to your computer. You need to extract the zip file and inside it you will find a wordpress folder.

Next, you need to connect to your WordPress site using an FTP client. Once connected, go to the website root directory. This is the folder that contains the wp-admin, wp-include, wp-content folders inside it.


In the left column, open the WordPress folder on your computer. Now you need to select the wp-include and wp-admin folders, then right click and select “Upload”.

Your FTP client should now transfer those directories to the server. It will ask you whether you want to overwrite the files. Select “Override” then “”Always use this action”.

Your FTP client will now replace the older WordPress files with the newer copies. If your WordPress files are corrupted, this step will fix the internal server error.

Ask your hosting provider
If all methods fail to resolve the internal server error on your site, it’s time for more help. Contact your web host’s support team and they should be able to check the server logs and find the cause of the error.

We hope this article helped you fix internal server errors in WordPress. Good luck!


Please enter your comment!
Please enter your name here