web analytics

How to Fix the 500 internal server error in WordPress

500 internal server error in WordPress is very irritating for bloggers,  Today you’ll learn how to fix the 500 internal server error in WordPress.

500 internal server error

If you see any error on your site it’s never a good sign, but we’ll go over some issues and possible solutions to solve them. The internal server error isn’t really specific to WordPress, but rather the server that your site is being hosted on. Some of the typical causes are corrupted .htaccess file, php memory limit and if it’s an error with WordPress, it’s usually an issue with a plugin or theme functions.

So let’s go through how to handle all of these issues. To check the .htaccess file, just ftp to your site and rename the .htaccess file to something like .htaccess_old. then go to your site and see if it comes up. If you can access your site, then that was the issue and you just need to go to settings–>permalinks and click save to rewrite the access file. Next thing to check is increasing the php memory limit to fix the error. To do this you can create a php.ini file, add this code to it and save it to the /wp-admin/ folder if you don’t see the internal error, then you know this is the issue and you’ll need to dig in a little deeper to find out what is causing the memory limits to be reached. You might need to ask your hosting company to look at the server logs to help with troubleshooting that issue.

Next you can deactivate all your plugins. Using ftp go to your plugins folder and rename it to something else, anything else. I’ll do plugins.deactivate. Once I do that all my plugins will become deactivated on my site and if I can access my site, then one of the plugins is causing the issue, now I can log into my dashboard, go into the plugin section and reactivate them one by one to see which one is breaking my site. One last thing to do is to upload the wp-admin and wp-includes folder from a fresh wordpress install to see if it solves any file corrupt issues.

Finally you can ask your host provider for assistance with your internal server error issue. You can see if they can check their server logs and see what might be causing the problem.

 

If you like this Article please share this article and go ahead and leave us a comment there, we’d love to hear from you.

Leave a Reply

%d bloggers like this: