FIXED 500 Internal Server Error on WordPress

Avoid this company at all costs – We been using #Justhost for the last 2 years. suddenly my site got suspended because they claim that we are “utilizing an excessive amount of system resources”. OK, so our traffic is getting bigger which is a normal trend in the online world. So you would expect that they would send an email and tell you have 24 Hours to move your site to a dedicated server. NO, THEY SUSPENDED OUR SITE!!! I IMMEDIATELY opened a ticket and called them over 5 times in the last 24 hours, and this is the answer i keep getting, WE ARE SORRY BUT THE DEPT THAT HANDLE THESE ISSUES CANNOT BE REACHED BY PHONE, AND THE SUPPORT TEAM THAT ANSWERS THE PHONE, DON’T HAVE ANY CONTACT WITH THEM. WOW!!! I have since sent emails , called open a ticket and NOT ONE SINGLE WORK FROM MYSTERIES CAVE OPERATING DEPT. Even when I made it clear we will do whatever it takes to get the site back up even if we had to pay x10 more for a dedicated server, money is not an issue. Can you imagine your site going down, and you can’t do anything about. well that’s #Justhost for you. Never Again!

Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist:

FIXED 500 Internal Server Error on WordPress

Grab your free 17-Point WordPress Pre-Launch PDF Checklist:

The 500 internal server error is not a WordPress-specific error. It is a general server error that may be related to your server settings or your WordPress files. Use the information in this tutorial to troubleshoot the 500 internal server error you are receiving.

Here are the things you’ll need to troubleshoot.

1. Your htaccess file may be corrupted. Try renaming it and see if that fixes the 500 error. If it does then the problem is in the htaccess file.

2. You may have reached the memory limit on your hosting account. Try increasing the limit using one of the methods outlined in this tutorial:

3. Try replacing the wp-admin and wp-include folders with fresh versions of those folders. This one is more complicated. Basically you’d backup those two folders in your hosting account and upload those two folders from a fresh version of WordPress downloaded from

Check Your Plugins

The first 500 internal server error troubleshoot is by deactivating all of your plugins.

To do this log into your site files using FTP or going through cPanel.
If you go the cPanel route, click on File Manager in your cPanel.

The find your website’s root folder. It is usually in the public_html folder.

Then navigate to wp-content and locate the “plugins” folder.
Next rename the Plugins folder to something different like “plugins-old”. This deactivates all the plugins on your site.

If that fixes the problem, then you know the problem is with your plugins.

Now that you know the problem is with your plugins you can go into the WordPress back-end and activate each plugin individually to isolate the cause.

You do this by activating one plugin, then reload your website. If you do not see the 500 Internal Server Error then it’s not that plugin.
Then activate another plugin and do the same until one of them breaks your site.

Once you know which plugin is causing the 500 Internal Server error, you can either delete that plugin, replace it, or contact the developer for more help.

If deactivating the plugins didn’t fix the problem, keep on reading.

Increase Your Memory Limit

The next step in the troubleshooting process is to increase the memory limit on your website.

Go cPanel and open the File Manager again. There may be a file in your website’s root called php.ini. If there is not just create a file with that name.

Now, open the newly created file in the code editor and type memory=128MB in the file. This should increase your memory limit.

Now refresh your website.

If the error is gone, the cause was a memory problem on the server and you have identified the problem.

You should now contact your host support to figure out what is draining your memory and remedy the problem with their help.

Replace wp-admin and wp-include Files

If increasing the memory limit did not clear up the error, then copy in a new “wp-admin” folder and “wp-includes” folder in your WordPress site.

This can be done quite simply, but you want to follow the right process to protect yourself in case anything goes wrong.

First, go to your root folder and compress each of the current “wp-admin” and “wp-includes” folders into a zip archive. Just in case something goes wrong you’ll have a backup of those files.

Now go to and click on the “Download WordPress” button.

The downloaded zip file will contain the latest versions of “wp-admin” and “wp-includes”. Unzip that WordPress file.

Find the “wp-admin” and “wp-includes” inside the WordPress folder on your harddrive. Highlight both of them and compress them.

Upload them into the root folder of your website using cPanel or FTP.
Now go ahead delete the uncompressed versions of these folders in your website root.

Next, extract the compressed folders and now you have fresh copies of them on your website.

Refresh your website to see if that fixes the problem. If it does fix the problem, you can safely delete the compressed backups.

Subscribe to this awesome channel here:

WordPress Tutorials – WPLearningLab

  • Project Design
    Posted at 20:18h, 17 December

    thank you man for saving time 🙂

  • Dan G. Fox - Internet Marketing
    Posted at 21:47h, 05 January

    Thanks so much. This was very helpful. I was able to eliminate the error which ended up related to a plugin.

  • Kristine Lundteppen
    Posted at 22:33h, 22 January

    What is Cpanel? Do i have to get it?

  • American Seo
    Posted at 20:46h, 01 February

    error 500 goes away by replacing WordPress core files from file manager but it starts showing up again after some time, especially when I try to update the plugin.

    Please advise what could be the reason.

  • Shiva Krishnan
    Posted at 13:14h, 03 February

    Hey mate, could changing hosting companies solve this porblem? I have the server 500 error, which seems to be intermittent. I've tried everything you said, and have also contacted my hosting company (bluehost), and they are no help whatsoever. I don't know what to do. During the day in Australia, it loads and functions fine. At night, it starts to play up.

  • Amit Dakua
    Posted at 11:12h, 06 February

    Thanks a lot boss. I solve my issue by watch this video and I become a follower of you. Thanks a lot again.

    Posted at 16:59h, 11 February

    non of them worked for my error code 500

  • Mohamed Kugba Massaquoi
    Posted at 18:03h, 13 February

    Thanks very much. you're a life saver.

  • MUR
    Posted at 06:46h, 31 March

    Thankyou very much, this is very helpful to me!

  • Goshiana Deehul
    Posted at 11:06h, 01 April

    Hi, I have tried all the methods shown in the video but it still didn't fix the 500 Internal Server issue.
    Do you have other solutions ?
    Help please

  • Mothering with Amor
    Posted at 15:53h, 03 April

    thank you soooooo much !!! fixed the issue

  • Andre Darroux
    Posted at 20:12h, 13 April

    Sorry to bring bad news but I am still getting the 500 error

    Posted at 17:03h, 01 May

    I love you! Your a life saver!

  • GBV Store
    Posted at 13:31h, 05 May

    Love you so much 💕 very very thanks bro

  • GBV Store
    Posted at 13:32h, 05 May

    Admin & including file replace my problem solved

  • * Gerfeed *
    Posted at 15:39h, 11 May

    Thank you!!

  • GBV Store
    Posted at 18:29h, 15 May

    lots of thanks

  • Federico Wills
    Posted at 17:35h, 19 May

    Error 500 for me comes when theres big traffic to my site, and it disappears after refresh, any recommendations on that?

  • Waqas Amjad Sethi
    Posted at 17:30h, 24 May

    i am still getting the error. need help.

  • AYS Pro - WordPress Plugins, Tips & Tutorials
    Posted at 06:16h, 11 June

    I have a question: when I get 500 status from a plugin, how can I understand where exactly the issue comes from so that I can solve it?

    Posted at 06:54h, 18 July

    Can you fix my problem please

  • Ramon Tharpe
    Posted at 22:17h, 18 July

    Omg thank you!

  • Kai Buskirk
    Posted at 03:10h, 29 July

    Radd! Crushed it!
    can you do one for 5.8

  • Leny1777
    Posted at 02:41h, 09 August

    I have it on my webpage not wordprocess

  • Mrvimo Network
    Posted at 11:26h, 27 August

    Hi, I have a problem recently I migrated my wp site to Bluehost shared managed wp hosting package using Duplicator plugin, but now the problem is whenever I update any post or clear wp rocket cache the 500 internal server error appears but after reloading It disappears, I followed all your instructions but no luck Bluehost support saying server is working fine and nothing wrong on their end.

    i am stuck with this random 500 error and slow wp-admin panel….. 😔

  • Icons Promotions
    Posted at 18:56h, 30 August

    4 years old video and still helping people all around the world. Thanks!

  • E Deal
    Posted at 21:48h, 07 September

    I have tried all of these nothing worked

  • Thet Thant Mary သက်တန့်မေရီ
    Posted at 23:50h, 15 September

    Thank You very much. It helped to solve my problem instantly. 🙂

  • Kim Duffy
    Posted at 07:57h, 16 September

    Sadly I've experienced a problem making copies of the wp-admin and wp-includes folders. For some reason they did not copy the same type …. instead of httpd/unix-directory they saved as a text/x-generic. I didn't notice this until after I deleted the original folders! So I thought, no problem, I'll just download the latest version of WordPress, like you explained and copy them across that way. But unfortunately cPanel would not let me drop them into the box. I didn't have the option to 'select file' as I couldn't actually select the files as the only option availabe was to 'open' rather than 'select' the folders. When trying to drop them into the box I received an error message 'an unknown error occurred. Are you over quota?'

    I've also noticed that I have two public_html files; one called public_html an the other called public_html2. I can't see to delete the second version.
    I've raised a ticket with my hosting company (Arvixe) to see if it's memory issue.
    If you can advise of a work-around that would also be useful. Do you offer services and how much would you charge. I'm just getting desperate as I hate it when my website goes down and I'm losing potential business.
    Hope this makes sense and you can help.

  • RUST
    Posted at 07:33h, 28 September

    All my sites suddenly went 500 error. Im using plesk. Html files are working but not php. Each site has their own php settings. Do you have any idea whats happening to my server?

  • Estell Chaudoin
    Posted at 18:52h, 29 October


  • Just_Because
    Posted at 22:34h, 07 November

    I’m working on custom built plugin. Each of the pages have a form on it so the users can type in data, which then compiles into their inventory system. Each of the forms is a different type of inventory, which all appear to be working other than the failed “run bin” form. Can you help ?

  • Ankit Nepal
    Posted at 14:29h, 22 November

    hi how do i get into cpanel?