How to fix the 500 Internal Server Error in WordPress within 2 Minutes

Internal Server Error are the most common Error in WordPress Websites.

These are also known as (http error 500).

Getting fixed by yourself is a very hectic task unless you find an easy and Simple Solution.

Whereas Sometimes finding a Good host Support is way too difficult. (However in Mine case, I am blessed with a Good Webhost Support.)

In this article I will try to help you solving this internal server error problem within 2 minutes.

Trust me! After Reading this Article, when you go to solve this out then keep a Stopwatch with You. :p

What is 500 Internal Server Error?

Basically, the error caused by some operation that went wrong on the website’s end. In WordPress’ 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.

http Error 500
  • Save

What causes 500 Internal Server Error?

Internal server error in WordPress is often caused by plugin or theme functions. Other possible causes of internal server error in WordPress that we know of are: corrupted .htaccess file and PHP memory limit.

How to fix the 500 Internal Server Error on Your WordPress Website?

NOTE: Remember Before doing anything over your Website’s Error. Make Sure you took a full backup of your website.

To begin with you have to open files of your webhost.

And for that either you can use a FTP client (here are the best recommended ftp client by WordPress).

Or You can directly open the File Manager of your webhost through cPanel.

Whatever makes you feel comfortable.

Check Your .htaccess file?

.htaccess file folder
  • Save

When you open the file manager of your webhost, Navigate to public_html folder.

Thereafter Search for the .htaccess file. It may be at the bottom of the page.

Now either you have to rename it or you have to delete it.

If you are going to rename it, then rename with whatever word you seems ok.

It can be .htaccess_ashish as well :p

Or if you are going to delete the .htaccess file.

Then must assure to take a backup of it.

Finally, after Renamed or deleted the file, we have to have a new .htaccess file.

So to create a new file, You have to open your website’s admin area (eg. blogveda.com/admin).

Go to Dashboard, and under Settings Select Permalink and move at the Bottom to click Save.

This will create a new .htaccess file.

Now, Open your website. If it’s get opened normally then Yay! You finally Solved your Internal Server Error Problem and that too within 2 minutes.

If you still facing the problem. Then let’s move on to the 2nd Solution.

Increase Your PHP Memory limit.

 

Increase PHP Memory limit
  • Save

If the Internal Server Error is shown usually when you Upload images or Update Plugins or Post Updates.

Then it may most probably be the memory limit problem.

It is controlled on both sides i.e. On your WordPress Website and on the Web host’s end.

So, Now you have to change the limit from your end.

  1. Under public_html folder,
  2. Open WordPress Root Directory.
  3. Thereafter wp-config.php file
  4. Search for WP_MEMORY_LIMIT
  5. Change the Limit to “64M”
  6. Or either Paste this code define('WP_MEMORY_LIMIT', '64M');

This functionally will work if you are finding the problem during updating your website.

However this is not a permanent solution.

You have to learn the main cause of Memory usage on your website.

It can be any plugin or any code that may cause this problem.

Try to update Plugins and Update any code which you have written thereon.

You can Contact your Webhost Support for this.

Usually all webhosts doesn’t supports over such issues.

Either they try to sell the Upgradation of the webhost itself. (So choose your webhost wisely. I chose Bluehost and Siteground for both my websites. Both have supportive and Skilled tech Supportive).

Deactivating All the Plugins

Sometimes Plugins causes a lot of problems which we can’t get to know about.

So, try to deactivate all the plugins to see if the problem get fixed or not.

You can deactivate the plugins either through the plugins option in your website’s dashboard.

or either through Root Directory.

for it you have to go to :

  1. public_html file
  2. Open wp-content page.
  3. thereafter Search the Plugin folder.
  4. here you have to simply rename the folder like plugin_ashish

Then go and Refresh you website.

If the plugins is the main culprit then your website will run normally.

Then through your wp admin dashboard you have to reactivate the plugins one by one.

And make sure you rename the Plugin_ashish folder to plugins thereafter.

Switch to another theme

For it make sure you have a full backup of your website.

Cause sometimes while changing to themes it may delete your data or misplace it.

Go to Appearance and then click Themes.

Try applying to theme other than what you have.

Perhaps It may solve the http Error 500.

Checking File Permissions

Under the Root Directory you will see Permissions Column ahead of the folder.

Then check the permission .htaccess file.

Make sure it should not be other than 0755 or 0644.

Otherwise it will show Error 500.

Upload an Updates wp-admin and wp-includes folder

Again first backup your website.

  1. Go to WordPress.org.
  2. Download WordPress from there.
  3. Extract the Folder.
  4. Copy the wp-admin and wp-inlcludes folder.
  5. On the Root Directory page select wp-admin and wp-includes folder.
  6. Left click and select Upload.
  7. Click Overwrite.

Now Refresh the directory and Refresh your website.

Check whether if it worked or not.

Reinstall WordPress again

From your Dashboard, Click Updates if You finds an Update in WordPress then Install it.

Otherwise Click Reinstall WordPress.

Then Refresh Your Website.

Check if it had fixed the error or not.

In most cases it does.

Contact Your Host Support

Now it’s the final place where it can be solved.

Otherwise we have tried all the methods till now.

Tell Your Host Support that you did everything to solve the problem.

If it’s good then they will help you thereon.

Otherwise they will try to sell their upgradation package.

If you want to spend money then buy, otherwise tell them you are going to change your webhost.

May be thereon they do some technical help.

Otherwise Choose other webhost like bluehost or Siteground, they are the best till now.

Conclusion

See till now we have,

  1. Updated our .htaccess file,
  2. Changed PHP Memory limit,
  3. Switched the theme,
  4. Deactivated all the Plugins,
  5. Changed file Permissions,
  6. Updated Root Directory folders,
  7. And Reinstalled WordPress itself.

This would have helped you, I wish.

These were the easiest 2 minutes solutions for which I have myself solved many website’s 500 Internal Server Error or http 500 Error.

If You still not found the Solution then Contact your host Provider or tell us in depth about your Problem in the Comment Section below.

So that we can personally fix it for you, for free.

Or otherwise if you have other solution Methods, Please do share too.

Share this Post to Your Social Media Account or on your blog, If You personally feel that it fixed the Problem.

Affiliate Disclosure

The post contains some affiliate links. See my disclosure about affilate link here.

About Ashish Gupta 14 Articles
Loves - Blogging, Coding, Web Development or Anything Innovative. Hobbies - Playing Cricket, Football, Badminton, Table Tennis (He is Basically a Playing Freak), Writing Poems, Reading Fictions, Experimental Cooking. Best Lines - Every Problem comes with a Solution. Here for - WordPress and SEO Solutions (Had Worked on 10+ websites) Achievements - Nothing at all 😂

2 Comments

  1. Thankuu ur all blog help me most and this blog is very helpfulll to me I appreciate ur work….
    Please help to introducing more blog. And I want to meet u please sir meet me………..

    • Oh! Thanks a lot.
      Vishwajeet for Your Appreciation.
      It makes motivated when I see happy Comments.
      I hope I fixed your Internal server Error issue within 2 Minutes.

Leave a Reply

Your email address will not be published.


*