How to Fix 500 Internal Server Error In WordPress ?

If you have used the internet for a long time, you may have seen Internal Server Error HTTP 500 at least several times. Internal Server Error is one of the most common WordPress errors that can cause new users of WordPress to panic. And it could be the worst thing you can do. Take a deep breath and remember that others before you have also encountered this problem. We fixed errors such as Internal Server Error, failed to connect to database , fixed white screen error on wordoress., and many other errors many times for their readers. We can assure you that they are all fixable. It just requires a little patience. In this article, we will show you how to troubleshoot Internal Server Error in WordPress by compiling a list of all the possible solutions you can apply.

Why do you encounter an Internal Server Error in WordPress?

Internal Server Error does not just happen with WordPress, it can happen with anything else running on your server. Because of the general nature of this bug, it does not say anything to the developer. Asking how to fix an Internal Server Error is like asking your doctor how to overcome the pain without telling them where the pain is. As such, Internal Server Error in WordPress is usually caused by the features of the plugin or interface. Another possible cause of Internal Server Error in WordPress that we know is .htaccess file and limitation of PHP memory corruption. We’ve also heard about Internal Server Error only when you try to access the admin area while the rest of the page is working properly.

Let’s take a look at how to handle this Internal Server Error in WordPress.

Check if any .htaccess file is corrupt

The first thing you should do when dealing with Internal Server Error in WordPress is to check if any .htaccess file is broken or not. You can do this by renaming your main .htaccess file to something like .htaccess_old. To rename the .htaccess file, you will need to log in to your site using FTP. Once you’ve entered the page, the .htaccess file will be located in the same directory where you will see the wp-content, wp-admin, and wp-includes directory.

Once you have renamed the .htaccess file, try to reload your page to see whether this solves the problem. If it resolves, then be proud that you fixed the Internal Server Error. Before you continue with the other things, make sure you go to Settings, select Permalinks and click on Save. This will create a new .htaccess file for you with the appropriate rewrite rules to ensure that your post page does not return a 404 error. To fix the 404 error return you can refer to the post. Our bad write-up on  how to fix the 404 error post .

If checking the .htaccess file does not work for you, then you need to continue reading this article.

Increase PHP memory limit

This error can sometimes happen if you fill your PHP memory limit. Please use the tutorial on how to increase the PHP memory limit in WordPress to fix that.

If you are seeing Internal Server Error only when you try to login to WordPress or upload an image in your wp-admin then you should increase the memory limit by following these steps:

  1. Creates a blank text file called php.ini
  2. Paste this code into it: memory = 64MB
  3. Save this file
  4. Upload it to your / wp-admin / directory using FTP

Some users have said that doing the same thing fixes the admin issue for them.

If the memory limit increase fixes your problem then you are only supposed to fix this temporary error. The reason we say this is because something must have squeezed your memory limit. One may be a poorly coded plugin or even an interface feature. We sincerely recommend that you ask your WordPress web hosting company to check your server logs to help you find the correct diagnosis for you.

If increasing the PHP memory limit does not fix the problem for you, then you will have to implement some more complex solutions.

Unlocks all plugins

If none of the above solutions work for you, this error is highly likely caused by a particular plugin. It’s also possible that a group of plugins do not mix well. Sadly, there is no easy way to find out. You must deactivate all WordPress plugins at once.

Or follow our guide on how to un-enable all the WordPress plugins without going to WP-Admin.

If disabling all plugins fixes this problem then you know one of the plugins is causing the error. Simply go through and re-enable each one until you find the plugin that causes this problem. Please remove the plugin and report the bug to the creator of the plugin.

Re-upload core files

If the plugin option does not fix the Internal Server Error, it is worth re-loading the wp-admin and wp-includes directory from a new WordPress installation . This will not leave any of your information, but it can solve the problem in case any file is corrupted.

Ask your hosting provider

If none of the above works for you then you need to contact your hosting provider . By looking at the server logs, they will be able to see what the problem is.

There are feasible solutions that can fix Internal Server Error in WordPress. Is the above solution effective for you? If so, please let us know in the comment section. Have you had to deal with Internal Server Error in the past? How did you fix that? If you know a solution to this bug that is not listed here in this article, please contribute it in the comment section below. We will make sure to update this article with any advice from the user. You can refer to the article  the web hosting companies offer free domainIf you have used the internet for a long time, you may have seen an Internal Server Error HTTP 500 at least several times. Internal Server Error is one of the most common WordPress errors that can cause new users of WordPress to panic. And it is the worst response you can have. Take a deep breath and remember that others before you have also encountered this problem. We fixed errors such as Internal Server Error, database connection error, white screen fix on wordoress., and many other errors many times for their users. We can assure you that they are all fixable. It just requires a little patience. In this article, we will show you how to fix Internal Server Error in WordPress by compiling a list of all possible solutions in one place.

(Visited 144 times, 1 visits today)

Be the first to comment

Leave a Reply

Your email address will not be published.


*