500 Internal Server Error–Solution for WordPress

WordPress is stable software and operates without issues most of the time. However, at times, things may go a little haywire, and your WP website can refuse to function normally.

Have you ever encountered a white screen after adding some new themes or plugins? Maybe you were just updating your WordPress website and that update now refuses to finish, and your website is in eternal maintenance mode? What about internal server and database connection errors?

If you have encountered any of the above problems and are looking for the solution to them, you have come to the right place. In this article, we shall be taking a look at some of the most common WordPress problems and ways in which we can solve them.

500 Internal Server Error

What

Your site was working fine, and then, when you wake up the next day, this is what you find:

500 Internal Server Error–Solution for WordPress

500 Internal Server Error–Solution for WordPress

The most common cause of a 500 Internal Server Error message is a corrupt .htaccess file. Additional causes can be a conflicting plugin or theme, or even a corrupt WordPress installation.

Sometimes, PHP memory limits may also cause a 500 Internal Server Error.

The easiest way to figure out where the problem lies is to check your website’s error_log (many shared web hosts often do not enable full error logging, though). To find out more, you can enable WP_DEBUG and check for error logs. Open up your wp-config.php file, and locate the following line of code:

define(‘WP_DEBUG’, false);

And change it to:

define(‘WP_DEBUG’, true);

Since the most likely cause behind the error is a corrupt .htaccess file, let us tackle this one first.

You will need FTP access on your server. Navigate to the root directory of your WordPress installation, and locate the .htaccess file. Rename the file to, let us say, something like .htaccess_old

Now reload your website. If it works, congratulations! You can now generate a new .htaccess file simply by navigating to Settings–>Permalinks in your WP admin panel and re-saving the settings.

You can also try deactivating your plugins and themes because sometimes a 500 Internal Server Error can be caused by a faulty plugin or theme as well. Alternatively, you can try increasing your PHP Memory Limit to ensure that the memory limit is not the cause of the error. You can find detailed instructions regarding memory limits on the WordPress Codex.

If all else fails, you will need to grab a fresh copy of WordPress from the official site, and then re-upload the wp-admin and wp-includes directories.

About Haja

Software Engineer by profession, Author and the Founder of "bench3" you can connect with me on Twitter , Facebook and also on Google+

Comments

  1. This paragraph will help the internet viewers for building up new blog or even ablog from start to end.

  2. I just want to say I am newbie to weblog and certainly liked your website. Almost certainly I’m going to bookmark your site . You certainly have really good article content. Kudos for sharing with us your webpage.

  3. Hello, this is truly a magnificent article, and I enjoy the meticulous detail you provide. I will certainly link back to this entry in my newest blog post.

  4. I wish to show some thanks to you just for bailing me out of this matter. Just after scouting throughout the online world and meeting thoughts that were not productive, I believed my entire life was over. Living devoid of the solutions to the difficulties you’ve resolved all through this article is a crucial case, as well as ones which could have negatively damaged my entire career if I had not noticed your web site. Your main training and kindness in taking care of all the things was priceless. I don’t know what I would’ve done if I hadn’t come upon such a subject like this. It’s possible to at this time look ahead to my future. Thanks a lot so much for this professional and results-oriented help. I will not be reluctant to propose your web sites to anyone who requires support about this subject.

  5. Hello, you used to write fantastic, but the last few posts have been kinda boring¡K I miss your great writings. Past several posts are just a little bit out of track! come on!

  6. Somebody necessarily help to make seriously posts I’d state. That is the very first time I frequented your website page and up to now? I amazed with the research you made to make this actual publish amazing. Wonderful process!

  7. Great post. I was checking continuously this blog and I’m impressed! Extremely useful info specially the last part 🙂 I care for such info a lot. I was seeking this particular info for a long time. Thank you and good luck.

  8. Each single day you wont be discovered by your customers means a lack of cashSearch Engine Marketing Consultant

Speak Your Mind

*