How To Fix HTTP Error 500 Code In WordPress
In this tutorial, we walk through how to fix a 500 Internal Server Error in WordPress. First, let me explain what a 500 error is. Do you remember going to a website and seeing a white blank screen? Or how about seeing “500 internal error” or “Google 500, that’s an error?” Well, that is one of the HTTP status codes that alert you when something has gone wrong on the website’s server, but the server could not be more specific on what the exact problem is. It could be caused by a new plugin you added or you could have just had run out of memory.
An action you have taken on your website has caused this error or there could be a problem with your web server. It’s no need to panic because the good news is, it is an easy fix, as long as you follow my steps in the video tutorial.
1. .htaccess File Corruption:
Okay so now we’re in your cPanel and you’re going to scroll down and find file manager to get to your .htaccess file. Make sure the site you’re working on is selected and click show hidden files. Click go and find your .htaccess file and what you’re going to do is just rename it. Then click OK.
Next, you need to log into your WordPress Website Dashboard, ok scroll down, find settings, click permalinks and scroll to the bottom and click save. How to fix 500 WordPress errors in windows
What this does is repair your .htaccess file if it’s corrupted. If it works, you should be able to see your website, no white screen, no error message, then you found the problem, a corrupted .htaccess file. But if it doesn’t work, go to Step NO. 2.
2. Plugin Conflict
Check to find out if there is a plugin conflict. Log into your WordPress Admin Dashboard, scroll down, and find plugins. Click install plugins and start deactivating these plugins one by one. Check to see if the error goes away as you deactivate them individually. And if the error goes away after deactivating each plugin, you know it’s a plugin issue.
NOW if you can’t get to your WordPress Dashboard, you have to access these plugins by logging into your web hosting server. Find file manager in your cPanel, select the site you are working on, make sure hidden files are selected, and click go. Find your plugin folder and click okay. (That Folder can be found in WP Content Folder)
What you need to do is rename that plugin’s folder to deactivate it. DO THIS IF YOU CAN’T GET ACCESS TO YOUR WORDPRESS ADMIN DASHBOARD!
If you can see your WordPress Website after that, you know it’s one of your plugins that’s causing the issue. Now if that’s not the issue, go to NO. 3. (NOTE: Don’t forget to change your plugins folders back to the original name.)
3. NOT ENOUGH MEMORY
You may have run out of memory or don’t have enough from the beginning. To check this, you need to be in your CPanel in your web hosting server area. You need to access your WP-Config File to access your memory settings.
Scroll down to find file manager, make sure you select the correct size you are working on, click show hidden files, and click go. Find WP-Config.php, click on it once and go to the top and click Edit, edit.
BE VERY CAREFUL IN YOUR WORDPRESS CORE FILE AND ALWAYS BACK UP!
Scroll down in your config.php file until you find define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
Yours may have a smaller limit like 64M or 128M, which is what the average WordPress Website has. If allowed by your hosting company, you can increase this limit to a higher one by changing what you see there. The memory limit of “128” is comfortable, but “256” is a lot better if allowed. Click save, and if that white screen goes away, you know it’s a memory issue.
Thank you so much Pat, I had this problem before & I was bumping my head against the wall, after reading your article,I will make sure remember each new Plugin I install, this way I would know that’s responsible of the 500 internal error, if not I can check the two other possibilities: not enough memory & HTACCESS corruption
Definitely! You are welcome Yassine!
Hello Pat,
I have two websites, both are running by Wordpress & I installed the same Plugin in both of them, one showed me WordPress 500 Internal Server Error, one didn’t. When I deactivated it it worked fine,
Can you please tell me why does only one website works fine with the Plugin I installed?
Well one website may be using a different plugin that conflict with the new one you installed. No website run the same exact plugins. Also you may have more memory on one website vs the other.
Hello! Do you use Twitter? I’d like to follow you if that would be okay.
I’m absolutely enjoying your blog and look forward to new posts.
Thank you! Yes my twitter handler is @smazzit
I?m impressed, I must say. Seldom do I come across a blog that?s both
educative and entertaining, and let me tell you,
you have hit the nail on the head. The issue is something which not enough folks are speaking intelligently about.
I am very happy I found this in my hunt for something regarding this.
Thanks on your marvelous posting! I really enjoyed reading it, you could be a great author.I will always bookmark
your blog and will eventually come back in the foreseeable future.
I want to encourage one to continue your great job, have a nice weekend!
Definitely believe that which you stated. Your favorite justification appeared to be on the internet the simplest thing to be aware of.
I say to you, I definitely get annoyed while people think about worries
that they plainly do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people
could take a signal. Will probably be back to get more.
Thanks
Good site you have got here.. It’s difficult to find excellent writing like yours nowadays.
I honestly appreciate individuals like you!
Take care!! https://nicolitalia.com/
Thank you!
I was more than happy to uncover this web site. I wanted
to thank you for your time for this particularly wonderful read!!
I definitely loved every part of it and i also have you bookmarked to look
at new information in your website.
Thank you!
I would like to thank you for the efforts you’ve put
in penning this site. I really hope to see the same high-grade content from you in the future as well.
In truth, your creative writing abilities has motivated me to
get my very own site now 😉
Thank you! I appreciate it..
This is a topic that is close to my heart… Cheers! Exactly where are your contact details though?
Thanks Nolan..
It’s very trouble-free to find out any matter
on web as compared to textbooks, as I found this paragraph at this website.
Thanks Barx
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something.
I think that you can do with some pics to drive the message home a
bit, but other than that, this is fantastic blog.
A great read. I will certainly be back.
Thanks
Hello there, You’ve done an incredible job. I will definitely digg it and personally suggest to my friends.
I am sure they’ll be benefited from this website.
Hey there, You’ve done an incredible job. I’ll definitely digg it and in my opinion suggest to my friends.
I am sure they will be benefited from this web site.
Thank you Brian
Greate post. Keep posting such kind of information on your blog.
Im really impressed by it.
Hello there, You’ve done a great job. I will
definitely digg it and personally recommend to my
friends. I am confident they’ll be benefited from this website.
Thanks Kelley!
It’s actually very complicated in this active life to listen news on TV, thus I only use world wide web for that reason, and take the newest news.
It’s impressive that you are getting thougһts from this
paragraph as well as frоm our argսment made at this time.
Aw, tһis was a really nice post. Тaking the time and actual effort
to produce a great article… Ьut whаt can I say…
I hesitate a whole lot and don’t seem to get nearly anytһing done.
I very glad to find this internet site on bing, just what
I was searching for 😀 besides saved to favorites.
Howdy! I know this is kinda off topic but
I was wondering if you knew where I could find a captcha plugin for my
comment form? I’m using the same blog platform as yours and I’m having problems finding one?
Thanks a lot!
Hello Luke, I hope you are doing fine and staying safe. Yes you can use Google Recaptcha Plugin https://www.google.com/recaptcha/intro/v3.html or Really Simple Captch https://wordpress.org/plugins/really-simple-captcha/ to control spam comments. I also hold all comments for moderation vs automatically approving them because spammers will put a lot of comments on your blog because it builds backlink profiles. let me know if i can further assist you.