Sunday 24 July 2016

Fix 500 Internal Server Error in WordPress

500 Internal Server Error is not specific to wordpress. Usually beginners who are managing site gets panic while getting this error. There are many causes for this type of error. Most of the time you will see this error in your own browser itself. Common ways of displaying error message.
  • “500 Internal Server Error”
  • “HTTP 500 – Internal Server Error”
  • “Internal Server Error”
  • “HTTP 500 Internal Error”
It says ‘something went wrong’, but the server is not clear about the error. This is a server side issue which tells that some configuration settings has changed. So if you are a website administrator you need to check on the configuration files, .htaccess files. PHP settings, log files.

Solution

Check .htaccess file.

If you are using .htaccess file then double check that file. The 500 internal server error may occur if the .htaccess file is corrupted. When you install wordpress and if you wish to edit the .htaccess file, then rename the original  .htaccess file to some .htaccess_backup. Create a new copy of the file and do your changes. In case if your .htaccess file gets corrupted you can replace the old file and check if the error is still there.
In my case I found that W3TC Browser Cache has inserted few lines into my  .htaccess file. I removed it and it works fine as before.
Keep in mind that there might be cases where you have multiple .htaccess file. So if you replace/remove one in your sub folder then the other file in your parent folder will cause problems.

You will get a long list of HTTP status codes from here.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam aliquam massa quis mauris sollicitudin commodo venenatis ligula commodo.

Related Posts

0 comments:

Post a Comment