500 Internal Server Error In WordPress : The Solution Is Here
October 29th, 2015 | by Ravi Chahar || 6 Comments |
We have talked about removing database connection error. And now I am going to discuss regarding 500 internal server error.
There are many people who have faced this problem and most of the newbies get scared after getting this message. They don’t need to panic. As the error shows, it is an internal server error. You don’t have to do anything with it.
To remove internal server error you have to check few things. In this tutorial, I am going to tell you about the all the possible solutions for removing this error message.
How To Fix Internal Server Error?
There may be many reasons due to which you are getting this error message. Maybe any plugin is conflicting with your website. Your new version of the WordPress may also create a problem.
1: Browser Problem:- Sometimes you see such type of error due to your browser. You should try to open your website in an another browser. Clear cache and history of your browser. If you still get an error message then go further.
Clear cache and history of your browser. If you still get an error message then go further.
2: Your .htaccess file is corrupted:- There are chances that your .htaccess file is damaged. If that’s the reason then you can check it. You can solve it within few minutes.
You just have to rename your current .htaccess file. Rename it like .htacces_ht and something like that and you have to create it again.
You can easily find this file in file manager>>Web Root with other files like wp-includes, wp-admin etc. Before proceeding any further, you must have the backup of your website, backup of your database.
To fix the corrupted file you just go to your WordPress dashboard and then Settings>>Permalinks and save the options. You don’t need to do any change in the settings. By clicking to “save” button, a new .htaccess file will be generated in the directory.
If you still get 500 internal server error then check further.
3: Increase PHP memory limit:- There are chances that due to any plugin with poor coding your PHP memory has exhausted. If you want to remove internal server error then you have to increase your PHP memory limit.
This can be one be adding just one simple code in your “wp-config.php” file.
If you still get 500 internal server error then you have to do it another way. When you upload any image and get this error message then you have to add another code in your “wp-admin” folder.
- Open Wp-admin folder.
- Create a new file named “php.ini”.
- Open the file and write memory=64MB.
- Save the file.
This can fix admin side problem. It is recommended that you should contact to your web hosting providers to check the PHP memory exhaustion.
4: Poorly Coded Plugin:- Have you recently uploaded any plugin in WordPress? Have you updated your WordPress version? Have you updated the theme of your website? If yes then you have to check the plugins you have added.
It is recommended that deactivate all the plugins and try to active every plugin one by one and check the status of your website and 500 internal server error.
Even a single plugin can be the cause of showing 500 internal server error. To avoid such kind of errors, you should choose the plugin wisely. You should know the qualities of a good plugin and theme.
If you still see the error message then immediately talk to your web hosting providers. They will let you know the problem and will solve it.
Have You Fixed 500 Internal Server Error?
I have explained all the possible reasons which can show 500 internal server error. I have seen many people who seek how to fix internal server error?
I am sure they have got the answer of their question. Most of the time .htaccess file is the culprit.
Any plugin may also create a problem. Always check your plugins. Use better-coded plugins. Always choose a good web hosting provider. Most of the time these errors can be caused from their side.