Internal server error 500 how to fix it in WordPress

Sharing is caring!

Internal server error 500 how to fix it in WordPress; If you see internal server errors 500 on your website, internal server errors are one of the most common WordPress bugs. Since the error gives no other information, many educators find it quite frustrating. In this article, we’ll show you Internal server error 500 how to easily fix it in WordPress.

What is the cause of the Internal server error 500? how to fix it in WordPress

Internal server error not specified with WordPress.can happen with a website running on a web server. Due to the generic nature of this error, it says nothing to the developer.

Internal server errors in WordPress are often caused by plugins or theme functions. We know that other possible causes of internal server errors in WordPress are: malicious .htaccess files and PHP memory limits.

We can only show an internal server error when the rest of the site is working properly when you are trying to access the admin area.

That being said, let’s now take a look at “Internal server error 500 how to fix it in WordPress”.

Checking for a malicious .htaccess file

The first thing you need to do is fix a malicious .htaccess file when troubleshooting internal server errors in WordPress.

You can do this by naming your original .htaccess file to something like .htaccess_bak. To rename the .htaccess file, you will need to login to your site using the FTP or file manager application on the cPanel dashboard of your hosting account.

Once you’re connected, the .htaccess file is located in the same directory where you see the wp-content, wp-admin, and wp-includes folders.

Internal server error 500 how to fix it in WordPress
Internal server error 500 how to fix it in WordPress


Once you rename the .htaccess file, try visiting your site to see if it has resolved your issue. If so, give yourself a pat on the back because you’ve fixed the internal server error.

Before you move on, make sure you go to the Settings “Permalinks” page in the WordPress “admin area” and click the “Save button” without making any changes. This will create a new .htaccess file for you, along with the appropriate rewrite rules, to ensure that your post pages do not return a 404 error.

If searching for a corrupt .htaccess file does not work for you, then you need to continue reading this article.

PHP memory Increase the limit

Sometimes an internal server error can occur if you exceed your PHP memory limit. To fix this, use our tutorial on how to increase the PHP memory limit in WordPress.

If you are just trying to login to your WordPress admin or are seeing an internal server error when uploading an image to your WP-Admin, you should increase your memory limit by following these steps:

  • Create a blank text file called php.ini
  • Paste this code “memory = 64 MB” there
  • Save the file
  • Now you upload it to your / wp-admin / folder using FTP

Several users said that the above tasks fixed the issue on the admin side for them.

If raising the memory limit fixes the problem for you, you’ve only temporarily fixed the problem. You still have to figure out the reasons why your memory limit is exhausting.

This could be a poorly coded plugin or a theme function. We strongly suggest that you ask your WordPress web hosting company to look for server logs to help you find the right diagnostics.

If raising the PHP memory limit doesn’t fix the problem for you, then you’re in for some more troubleshooting.

Disable all plugins/Internal server error 500 how to fix it in WordPress

If none of the above solutions work for you, this error is most likely caused by a specific plugin, It is also possible that it is a combination of plugins that do not play well with each other.

Sadly, there is no easy way to find it. You need to disable all WordPress plugins at once.

Internal server error 500 how to fix it in WordPress
Internal server error 500 how to fix it in WordPress


If disabling all plugins fixes the error, then you know that this is a plugin that causes errors.

Now go to WordPress (Admin area) and click on (Plugins). Now you have to reactivate a plugin once until you find the reason for the problem. Get rid of this plugin and report the error to the plugin author.

Re-upload the original file

If the plugin option does not fix the internal server error, it is advisable to re-upload the WP-Admin and WP-included folder from a new WordPress install.

This won’t delete any of your information, but it can solve the problem if a file is corrupted.

First, you have to go to the website and click on the download button.

Internal server error 500 how to fix it in WordPress
Internal server error 500 how to fix it in WordPress


WordPress will install a zip file on your computer. It is natural to extract the zip file and inside it, you will find a WordPress folder.

You will then need to connect to your WordPress website using the FTP client. Once connected, go to the main folder of your website. This is the folder that has WP-Admin, WP-included, WP-Content folder inside it.

Open the WordPress folder on your computer in the left column. Now you have to select the wp-includes and wp-admin folders and then right-click and select ‘upload’.

Your FTP client will now transfer that folder to your server. This will ask you if you want to overwrite the files. Select ‘Overwrite’ and then ‘Always use this action’.

Your FTP client will now replace your old WordPress files with brand new copies. If your WordPress files are corrupted, this step will fix the internal server error for you.

Asking the hosting provider

If all the procedures fail to fix any internal server errors on your website, it’s time to get some more help. Contact your web hosting support team and they will be able to check the server logs and identify the root cause of the error.

We hope this article helped you with the “Internal server error 500 how to fix it in WordPress”. If you liked this article, please share it with your friends on Facebook, Twitter and more

Sharing is caring!

Leave a Reply

Close Menu