How to troubleshoot 500 internal server error?

      40
The dreaded 500 internal vps error. It always seems lớn come at the most inopportune time và you’re suddenly left scrambling lớn figure out how to get your WordPress site back online. Trust us, we’ve all been there. Other errors that behave similarly that you might have also seen include the frightening error establishing a database connection and the dreaded white screen of death. But from the moment your site goes down, you’re losing visitors và customers. Not khổng lồ mention it simply looks bad for your brand.

Bạn đang xem: How to troubleshoot 500 internal server error?


*

Discover how xugame.biz customers are seeing up to a 200% increase in performance.


Learn more

Today we’re going lớn dive into the 500 internal server error & walk you through some ways khổng lồ get your site back online quickly. Read more below about what causes this error and what you can vày to prevent it in the future.


500 Internal server Error (Most Common Causes):


500 Internal hệ thống error in WordPress can be caused by many things. If you’re experiencing one, there’s a high chance one (or more) of the following elements is causing the issue:

Browser Cache.Incorrect database login credentials.Corrupted database.Corrupted files in your WordPress installation.Issues with your database server.Corrupted WordPress chip core files.Corrupted .htaccess file & PHP memory limit.Issues with third-party plugins & themes.PHP timing out or fatal PHP errors with third-party plugins.Wrong file and folder permissions.Exhausted PHP memory limit on your serverCorrupted or broken .htaccess file.Errors in CGI and Perl script.
Support

Check Out Our Ultimate Guide to lớn Fixing the 500 Internal vps Error

What is a 500 Internal server Error?

The internet Engineering Task Force (IETF) defines the 500 Internal vps Error as:

The 500 (Internal hệ thống Error) status code indicates that the hệ thống encountered an unexpected condition that prevented it from fulfilling the request.

When you visit a trang web your browser sends a request over lớn the hệ thống where the site is hosted. The hệ thống takes this request, processes it, and sends back the requested resources (PHP, HTML, CSS, etc.) along with an HTTP header. The HTTP also includes what they điện thoại tư vấn an HTTP status code. A status code is a way khổng lồ notify you about the status of the request. It could be a 200 status code which means “Everything is OK” or a 500 status code which means something has gone wrong.

There are a lot of different types of 500 status error codes (500, 501, 502, 503, 504, etc.) và they all mean something different. In this case, a 500 internal vps error indicates that the server encountered an unexpected condition that prevented it from fulfilling the request (RFC 7231, section 6.6.1).

500 internal hệ thống error in WordPress

500 Internal server Error Variations

Due khổng lồ the various web servers, operating systems, and browsers, a 500 internal server error can present itself in a number of different ways. But they are all communicating the same thing. Below are just a couple of the many different variations you might see on the web:

“500 Internal vps Error”“HTTP 500”“Internal vps Error”“HTTP 500 – Internal vps Error”“500 Error”“HTTP Error 500”“500 – Internal vps Error”“500 Internal vps Error. Sorry something went wrong.”“500. That’s an error. There was an error. Please try again later. That’s all we know.”“The trang web cannot display the page – HTTP 500.”“Is currently unable lớn handle this request. HTTP ERROR 500.”

You might also see this message accompanying it:

The server encountered an internal error or misconfiguration and was unable khổng lồ complete your request. Please contact the hệ thống administrator, and inform them of the time the error occurred, & anything you might have done that may have caused the error. More information about this error may be available in the vps error log.

Xem thêm: Nhận Mã Xác Minh Qua Google Authenticator Là Phần Mềm Gì? Google Authenticator Là Gì

*
Internal vps Error

Other times, you might simply see a blank white screen. When dealing with 500 internal vps errors, this is actually quite common in browsers like Firefox và Safari.

500 internal hệ thống error in Firefox

Bigger brands might even have their own custom 500 internal server error messages, such as this one from Airbnb.

*
Airbnb 500 internal hệ thống error

Here is another creative 500 hệ thống error example from the folks over at readme.

readme 500 internal hệ thống error

Even the mighty YouTube isn’t safe from 500 internal hệ thống errors.

*
500 internal server error on YouTube

If it’s an IIS 7.0 (Windows) or higher server, they have additional HTTP status codes to lớn more closely indicate the cause of the 500 error:

500.0 – Module or ISAPI error occurred.500.11 – Application is shutting down on the web server.500.12 – Application is busy restarting on the web server.500.13 – Web server is too busy.500.15 – Direct requests for global.asax are not allowed.500.19 – Configuration data is invalid.500.21 – Module not recognized.500.22 – An ASP.NET httpModules configuration does not apply in Managed Pipeline mode.500.23 – An ASP.NET httpHandlers configuration does not apply in Managed Pipeline mode.500.24 – An ASP.NET impersonation configuration does not apply in Managed Pipeline mode.500.50 – A rewrite error occurred during RQ_BEGIN_REQUEST notification handling. A configuration or inbound rule execution error occurred.500.51 – A rewrite error occurred during GL_PRE_BEGIN_REQUEST notification handling. A global configuration or global rule execution error occurred.500.52 – A rewrite error occurred during RQ_SEND_RESPONSE notification handling. An outbound rule execution occurred.500.53 – A rewrite error occurred during RQ_RELEASE_REQUEST_STATE notification handling. An outbound rule execution error occurred. The rule is configured lớn be executed before the output đầu ra user cache gets updated.500.100 – Internal ASP error.

500 Errors Impact on SEO

Unlike 503 errors, which are used for WordPress maintenance mode và tell Google to check back at a later time, a 500 error can have a negative impact on SEO if not fixed right away. If your site is only down for say 10 minutes và it’s being crawled consistently a lot of times the crawler will simply get the page delivered from cache. Or Google might not even have a chance lớn re-crawl it before it’s back up. In this scenario, you’re completely fine.

However, if the site is down for an extended period of time, say 6+ hours, then Google might see the 500 error as a site level issue that needs to be addressed. This could impact your rankings. If you’re worried about repeat 500 errors you should figure out why they are happening lớn begin with. Some of the solutions below can help.

How lớn Fix the 500 Internal server Error

Where should you start troubleshooting when you see a 500 internal server error on your WordPress site? Sometimes you might not even know where khổng lồ begin. Typically 500 errors are on the server itself, but from our experience, these errors originate from two things, the first is user error (client-side issue), & the second is that there is a problem with the server. So we’ll dive into a little of both.