Loading new...

How to Fix Internal Server Error in WordPress

September 29, 2020

The 500 internal server error runs on every page of your site when there’s a problem with the server or file system powering your site. The cause most likely happens in the root directory, where your WordPress files are, but it can also be caused by a problem on your host’s server.

This is one of the most frustrating errors that can happen in WordPress. It never has a straightforward solution, demanding a lot of troubleshooting that can eat up your time and patience. But we’re going to try to help alleviate some of that stress by recommending several solutions to this problem and walking you through each.

What is the 500 Internal Server Error?

The web definitions of the 500 internal server errors are somewhat unclear. There’s no real indication as to what went wrong and caused the error.

The only sure thing is that the error is caused by some operation that went wrong on the website’s end. Particularly in WordPress’s case, this can mean that a script that’s part of a theme or a plugin did something it shouldn’t have done, and now your server has crashed.

internal server error

 

How to Fix WordPress 500 Internal Server Error

We recommend you perform these steps in order. That is, start at Step #1 and work your way through the list. In a few situations, we’ll tell you to skip ahead based on one of the steps’ results. But in general, top to bottom!

Beyond that, just a reminder that we always recommend backing up your site before making any changes in this list. If you can’t reach your WordPress dashboard to use a backup plugin, you should still be able to create a backup through your hosting dashboard — ask your host’s support for help if you’re not sure how.

Fix 1: Create a Backup

First, you need to create a backup of your site to make changes to its root directory. If your web hosting server offers website backup, use it. But, it is better to create a backup of your own.

You can utilize a WordPress backup plugin such as BackUpWordPress, VaultPress, and BackupBuddy. If you don’t have it already, it’s time to get one.

Fix 2: Know How to Use an FTP Client

You will also need to know how to use an FTP Client. You can also use a File Manager. However, an FTP client is faster, customizable, robust, and more accessible to use. An FTP client is a tool that allows you to access and edit your website’s server files.

FileZilla is the most popular FTP Client. It is open-source software. However, you can use an FTP client of your choice.

Fix 3: Troubleshooting Options

Now, let’s look at a few general troubleshooting options to remove the WordPress internal server error.

  1. Create a New ‘.HTACCESS FILE’
  2. Using the FTP client, open your website’s root directory named public_html.
  3. You should be ready to see files named wp-admin and wp-content.
  4. If not, press on the Server tab, and select Force Show Hidden Files option to view the hidden files.
  5. Find your .htaccess file, and right-button buy valium in canada click to rename the file as .htaccess.bak. It will delete the old file.
  6. Now you need to create a new file.
  7. Go to Settings ? Permalinks.
  8. Scroll down and click the Save Changes button. Don’t make any changes.

The .htaccess file handles the contour of your web server. If the 500 internal server error was due to this configuration matter, creating a new .htaccess file will resolve it.

Expand your PHP Memory Limit

If this doesn’t solve your WordPress HTTP error, you can try increasing your PHP memory limit. Usually, your host will set the boundary for PHP memory. It is often low for a shared hosting plan. (Maybe it’s time to get an entire hosting plan.)

WordPress will try to extend this limit by itself. However, it can’t pass the limit set by your host. So, you’ll need to do it manually.

  1. Open your root directory.
  2. Locate the wp-config.php file and download it by right-clicking.
  3. Add the following code under the opening PHP tag using a text editor of your preference.
  4. define(‘WP_MEMORY_LIMIT’, ‘250M’);
  5. Now, save and re-upload the data to your root directory.

Let it replace the original file. Refresh your FTP client and your site to see if the answer code 500 continues to show. If it does, the PHP memory limit is not the cause. So, you should eliminate the above code from the wp-config.php file, save it, and re-upload it to your root directory.

Sometimes, however, you may require to increase the memory limit to more than 250MB. So, this will be a trial and error method depending on your website’s required memory limit.

Identify and Replace Faulty Plugins

Next, you can try identifying and replacing faulty plugins to resolve the issue.

  1. Go to the WordPress admin section, and start deactivating your plugins one by one.
  2. After each deactivation, refresh your website to verify if the error code 500 disappears.
  3. You can also utilize the FTP client to identify a faulty plugin.
  4. Enter the root directory and open the wp-content folder.
  5. Now add each plugin one by one to the empty directory, and refresh your site each time to see if the error is fixed.

If it does, remove the plugin in question. If the plugin is essential for your website, find an alternative that works. If you can’t get a replacement, contact the website developer.

Debug Your Site

You can use WordPress’ built-in debugging feature if you find it difficult to determine the cause of error code 500. However, only an experienced WordPress developer should do this. https://shlclubhouse.org/provigil-online/
You will require to add a small code in your wp-config.php file.

internal server error 500

 

Check File Permissions

While you are at it, you should also check file permissions. It’s worth a try. Usually, it would be best to set the permissions to 755 or 644 for the folders and files in your WordPress directory.

Using the FTP client, open your root directory. Most FTP clients have a Permissions tab that you can use to check each file and folder’s permissions. Make sure everyone is set to either 755 or 644.

134 responses to “How to Fix Internal Server Error in WordPress”

  1. Fastidious answer back in return of this issue with solid
    arguments and describing the whole thing about that.

  2. Heya i’m for the first time here. I found this board and I find It truly useful & it helped me out much.
    I hope to give something back and help others like
    you aided me.

    • You are very welcome. Please let us know your recent thoughts on other topics we have.
      We truly appreciate feedbacks it always help to convey the stuff ahead in future.

  3. Hello, I enjoy reading through your article post. I wanted to write a little comment to support you.

  4. Greetings! Very useful advice in this particular post! It is the little changes that will make the biggest changes. Thanks for sharing!

  5. Spot on with this write-up, I actually believe this website needs much more attention. Iíll probably be back again to read through more, thanks for the advice!

  6. Greetings! Very helpful advice in this particular post! It is the little changes that make the most significant changes. Thanks a lot for sharing!

  7. Everything is very open with a really clear explanation of the challenges. It was really informative. Your site is useful. Thanks for sharing!

    • Much appreciated and glad to hear that you collect your relevant information from here. You can find more informative topics here.

  8. Thanks for one’s marvelous posting! I truly enjoyed reading it, you could be a great author.I will always bookmark your blog and will come back at some point. I want to encourage one to continue your great posts, have a nice weekend!|

  9. I have learn a few good stuff here. Definitely value bookmarking for revisiting. I wonder how so much attempt you put to create such a fantastic informative website.|

  10. This blog was… how do you say it? Relevant!! Finally I’ve found something that helped me. Many thanks!

  11. Hello it’s me, I am also visiting this site on a regular basis,
    this web site is genuinely good and the viewers are truly sharing good
    thoughts.

  12. Everything is very open with a clear clarification of the issues. It was really informative. Your website is very useful. Thank you for sharing!

  13. Itís nearly impossible to find experienced people in this particular subject, however, you seem like you know what youíre talking about! Thanks

    • Much appreciate it. We have other topics as well. Do search it according to your interest. Let us know if you need any assistance.

  14. Hi to all, since I am truly eager of reading this webpage’s post to be updated daily.
    It includes nice stuff.

  15. Thanks for finally writing about > How to Fix Internal Server
    Error in WordPress – Professional Search Engine Optimization (SEO) Services Provider < Loved it!

  16. Thanks for finally writing about > How to Fix Internal Server Error in WordPress – Professional Search
    Engine Optimization (SEO) Services Provider < Loved it!

  17. Way cool! Some very valid points! I appreciate you penning this article and the rest of the website is very good.

  18. Thanks for finally talking about > How to Fix Internal Server Error in WordPress – Professional Search Engine Optimization (SEO) Services Provider
    < Loved it!

  19. You ought to be a part of a contest for one of the most useful blogs on the web. I most certainly will highly recommend this site!

  20. Thanks for finally writing about > How to Fix Internal Server Error
    in WordPress – Professional Search Engine Optimization (SEO) Services Provider < Loved it!

  21. Thanks for finally talking about > How to Fix Internal Server Error in WordPress – Professional Search Engine Optimization (SEO) Services Provider < Liked it!

  22. Hi there, everything is going perfectly here and ofcourse every one
    is sharing information, that’s actually good, keep up writing.

  23. This piece of writing will help the internet people
    for creating new blog or even a blog from start to end.

  24. Spot on with this write-up, I actually believe that this web site needs far more attention. Iíll probably be back again to see more, thanks for the information!

  25. I blog quite often and I truly appreciate your content. The article has truly peaked my interest. I will book mark your site and keep checking for new details about once a week. I opted in for your Feed as well.

  26. Wonderful article! We will be linking to this great article on our website. Keep up the good writing.

  27. Way cool! Some very valid points! I appreciate you writing this write-up and also the rest of the site is really good.

  28. Way cool! Some very valid points! I appreciate you writing this write-up plus the rest of the website is very good.

  29. Great site you have got here.. Itís hard to find quality writing like yours these days. I really appreciate people like you! Take care!!

  30. Spot on with this write-up, I actually think this web site needs much more attention. Iíll probably be returning to read through more, thanks for the information!

  31. Spot on with this write-up, I truly think this site needs much more attention. Iíll probably be returning to read more, thanks for the advice!

  32. Spot on with this write-up, I seriously believe this amazing site needs far more attention. Iíll probably be back again to read through more, thanks for the info!

  33. Good blog you’ve got here.. It’s hard to find excellent writing like yours these days.
    I seriously appreciate people like you! Take care!!

  34. Greetings! Very useful advice within this post! It’s the little changes which will make the greatest changes. Thanks a lot for sharing!

  35. These are actually wonderful ideas in concerning blogging.
    You have touched some fastidious points here. Any way keep up wrinting.

  36. Excellent blog you’ve got here.. Itís hard to find good quality writing like yours these days. I seriously appreciate people like you! Take care!!

  37. Great web site you have here.. Itís difficult to find high quality writing like yours these days. I really appreciate people like you! Take care!!

Leave a Reply

Your email address will not be published. Required fields are marked *

X

Get a Free

SEO Consultation