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.
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?
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.
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.
- Under public_html folder,
- Open WordPress Root Directory.
- Search for
- Change the Limit to “64M”
- Or either Paste this code
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.
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 :
- public_html file
- Open wp-content page.
- thereafter Search the Plugin folder.
- 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.
- Go to WordPress.org.
- Download WordPress from there.
- Extract the Folder.
- Copy the wp-admin and wp-inlcludes folder.
- On the Root Directory page select wp-admin and wp-includes folder.
- Left click and select Upload.
- 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.
See till now we have,
- Updated our .htaccess file,
- Changed PHP Memory limit,
- Switched the theme,
- Deactivated all the Plugins,
- Changed file Permissions,
- Updated Root Directory folders,
- 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.