Use Coupon Code ILOVEJENIUS for 10% off

How To Repair 500 Inside Server Error In WordPress

Have you ever ever tried to go to your WordPress web site solely to be greeted by a message saying Inside Server Error or one thing comparable?

It would even be taking place to you proper now:

500 internal server error example

It’s a scary error, as a result of just like the error establishing a database connection message, your web site utterly disappears.

Don’t fear an excessive amount of, although. The inner server error message is fixable and your WordPress web site’s information ought to nonetheless be totally intact.

On this submit, you’ll be taught:

  • What the inner server error is, in addition to some of its causes.
  • The way to repair the inner server error in WordPress.

What Does The “Inside Server Error” Message Imply?

Inside server error (generally known as a 500 inner server error), is a generic error message that your server offers you when it runs into an issue. Mainly, it’s telling you that “one thing” went flawed… nevertheless it’s not very particular about what that “one thing” is.

That’s not a really satisfying clarification – however once more, it’s not a really particular error.

What Causes The “Inside Server Error” Message?

As a result of this error message is so broad, there’s not a single drawback that causes it.

With WordPress, essentially the most frequent causes are:

  • A corrupt .htaccess file.
  • A plugin difficulty.
  • Hitting your PHP reminiscence restrict.
  • Corrupt WordPress core recordsdata.

We’ll present you options for how one can repair all of these issues. However if you wish to shortly slender down precisely what’s occurring, consulting your server’s error logs is a useful technique to diagnose precisely what’s inflicting the issue.

In case your host makes use of cPanel, you’ll be able to view error logs by going to your cPanel dashboard and clicking on Error Log:

error logs

Sadly, as you’ll be able to see from the picture beneath, these error logs aren’t all the time essentially the most user-friendly paperwork to learn:

If nothing apparent stands out within the error logs, you’ll be able to:

  • Seek the advice of your host’s help for assist understanding what the difficulty could be.
  • Soar straight into among the frequent fixes that I’m about to stipulate beneath.

Word: The next are confirmed hosts that supply cPanel internet hosting:

  • Bluehost
  • HostGator
  • SiteGround
  • Inmotion Internet hosting

How To Repair “Inside Server Error” In WordPress

Listed below are among the commonest methods to repair this message in WordPress. I like to recommend that you simply begin on the prime (Potential Repair 1) and work your method down.

Potential Repair 1: Generate A New .htaccess File

Your .htaccess file is a configuration file in your net server. WordPress makes use of it to, amongst different issues, arrange your permalink construction.

As a result of it controls the configuration of your net server, even a tiny mistake in your .htaccess file may cause one thing just like the inner server error message.

Fortunately, this drawback is simple to repair – all you’ll want to do is power WordPress to generate a brand new .htaccess file.

Right here’s how:

Step 1: Rename your current .htaccess file.

To get began, you’ll want to rename your current .htaccess file. You are able to do this by both:

  • Connecting to your web site through FTP. You need to use FileZilla to try this.
  • Utilizing your cPanel’s built-in File Supervisor instrument.

I’m going to point out you the method utilizing File Supervisor as a result of it’s the best for many customers. However the core rules are the identical irrespective of which methodology you employ.

You possibly can entry File Supervisor proper from the cPanel dashboard:

When you open File Supervisor, search for the .htaccess file within the root of your web site.

Proper-click it, and select Rename:

Rename it to one thing like “.htaccess_old”.

Now, all you’ll want to do is create a brand new .htaccess file to interchange it.

Step 2: Generate a brand new .htaccess file.

To power WordPress to generate a brand new .htaccess file, go to your WordPress dashboard.

Then, navigate to Settings → Permalinks.

You do not want to vary any settings.

Simply click on the Save Adjustments button, and WordPress will routinely generate a brand new, clear .htaccess file:

And that’s it! Hopefully, your web site is working once more.

  • Learn: How To Create A WordPress .htaccess File

Potential Repair 2: Deactivate Your Plugins And Discover Defective Plugin

In case your .htaccess file wasn’t the issue, the following factor that you could strive is deactivating your plugins.

Usually plugin points or conflicts may cause the interior server error. That is particularly seemingly should you noticed the error instantly after activating a brand new plugin.

By deactivating your plugins, you will discover the problematic plugin and take away it.

The way to deactivate plugins should you can nonetheless entry your dashboard:

For those who can nonetheless entry your WordPress dashboard, go to the plugin administration space and use the checkbox to deactivate all your plugins directly:

Then, reactivate them one after the other to hopefully discover the problematic plugin.

The way to deactivate plugins should you can’t entry your dashboard:

With the interior server error in WordPress, you’re almost definitely not capable of entry the WordPress admin dashboard. On this case, you’ll have to take a barely completely different strategy and deactivate plugins utilizing FTP.

  • Connect with your web site through FTP or File Supervisor. You need to use FileZilla.
  • Navigate to the /wp-content/ folder.
  • Rename the plugins folder to one thing like plugins_old.

When you rename the folder, all your present plugins shall be deactivated.

Now strive opening your WordPress dashboard, and if you’ll be able to entry it, it’s best to pat your self on the again. The difficulty is likely one of the plugins.

For those who go to the Plugins part of your WordPress, it would present the error “the plugin has been deactivated as a result of an error; plugin file doesn’t exist.”

Don’t fear… now we have discovered that the issue is likely one of the plugins.

To reactivate them one after the other:

  • Rename the plugin folder from plugins_old to plugins.
  • Now from the WordPress dashboard, activate every plugin one after the other.
  • After activating a plugin, browse Three-Four pages in your weblog. Repeat this step till you discover a plugin whose activation causes the interior server error.

In a majority of conditions, it will repair the interior server error drawback.

Potential Repair Three: Enhance Your Internet Internet hosting PHP Reminiscence Restrict

Nonetheless not working? Don’t fear… there are nonetheless extra issues that you could strive.

One other potential difficulty is that your WordPress web site is hitting its PHP reminiscence restrict. By default, WordPress tries to allocate 40MB of reminiscence for single-site installs (so long as your host permits it).

However should you’re experiencing difficulties, you’ll be able to manually improve this restrict (once more, so long as your host permits it).

To do that, you’ll have to edit your wp-config.php file. You possibly can entry it both through FTP or cPanel’s File Supervisor:

Add the next line of code proper earlier than the /* That’s all, cease modifying! Completely happy running a blog. */ message:

outline( 'WP_MEMORY_LIMIT', '64M' );

Bear in mind – it will solely assist in case your host hasn’t already set a PHP restrict that’s decrease than 64M.

For that reason, should you don’t discover a change after modifying your wp-config.php file, I like to recommend reaching out to your host to see what your present PHP restrict is.

Potential Repair Four: Reupload Core WordPress Information

In case your web site nonetheless isn’t working, you’ll be able to strive importing a clear copy of the core WordPress recordsdata.

For this resolution, I like to recommend utilizing an FTP program over File Supervisor.

Word: Be sure to have taken an entire backup of WordPress earlier than doing this step. You possibly can examine WordPress backups right here.

To do that, go to and obtain the newest model of WordPress:

As soon as the obtain finishes, extract the ZIP file and delete the:

  • Complete wp-content folder.
  • wp-config-sample.php file.

Then, add the entire remaining recordsdata to your WordPress web site through FTP. Your FTP program will present you a immediate about duplicate recordsdata. When this occurs, be sure that to decide on the choice to Overwrite duplicate recordsdata.

Fixing The “Inside Server Error” Message

At this level, considered one of these options has hopefully helped you repair the inner server error message in your WordPress web site.

If not, I like to recommend talking to your host’s help group and asking them to undergo the error logs with you to pinpoint the difficulty. And if they will’t assist, you may want to rent an precise WordPress developer to diagnose issues.

Or, you’ll be able to all the time depart a remark and we will strive to determine the difficulty collectively!

Let me know should you’ve confronted this difficulty and what steps you took to beat it…


Leave a Reply