WordPress Internal Server Error

Andrei Iordache

Andrei Iordache

WordPress Developer

🚀 I Help People Get Found Online | WordPress Development, Core Web Vitals, Security&Maintenance

WordPress Internal Server Error

Internal server error or ‘500 internal server error’ is another very familiar error for the WordPress user. When there is an internal server problem occurred but the server cannot identify the problem then this error is shown. The error message does not show the source of the error, so it is quite difficult for the user to solve this problem. 

This is a “server-side” error, which means that the problem is not with your computer or internet connection but is a problem with the web server itself.

There can be a variety of causes for this error, including:

  • A problem with a WordPress plugin or theme
  • A problem with the .htaccess file
  • A problem with the way WordPress is configured

Since Internal Server Error is a general error message, it is often hard to pinpoint the exact cause of the problem. However, you can take a few steps to try and debug the issue.

How to Fix the 500 Internal Server Error?


First, check to see if you have any WordPress plugins or themes installed that might be causing the problem. If you have recently installed a new plugin or theme, try deactivating it and see if that solves the problem. If it does, you can try reactivating each plugin or theme one at a time to narrow down the cause.

If deactivating your plugins and themes does not solve the problem, check your .htaccess file. This file is located in the root directory of your WordPress website. If you see any code in this file that you do not recognize, or if the file has been recently modified, try removing it and see if that solves the problem.

There are many reasons why 500 internal server errors occur but the most likely cause when it comes to WordPress is a .htaccess file that is configured wrong. Before you make any changes to your site it is recommended that you do a full backup, you could use an FTP client like FileZilla to do this. Now you need to open and edit your .htaccess file and reset it to the default WordPress version which I have added below:

# BEGIN WordPress

<IfModule mod_rewrite.so>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Once you have saved the file simply reload your website to see if the 500 internal server error has been fixed. If you are still having issues please go on to the next section of this page.

Other ways to fix the 500 Internal Server Error


Another possibility is that there is something wrong with the code, to find out more about the error you can edit the wp-config.php file in your root directory and add the following line of code anywhere in the file.

define('WP_DEBUG', true);

This will allow WordPress to display technical error details of why you may be experiencing this issue. If you see a blank page there may be other problems that may be harder to solve.

A common reason for getting this error may also be PHP memory limits. This can be hard to change on a regular hosting account and I would recommend contacting your hosting provider for more information on how to raise this limit. Raising the limit is usually not recommended as it usually points to other flaws with your website, something is using more memory than it should and that is not good.

If neither of these solutions works, there is likely a problem with how WordPress is configured on your web server. You will need to contact your web host and ask them to look at your server logs to see what is causing the problem.

Previous Post
WordPress Syntax Error
Next Post
WordPress Connection Timed Out Error
Lusi StudiosLusi Studios
15:32 22 Jun 22
Andrei did an amazing job! He helped in a very rushed time and he excelled at everything. Thanks again!
I am grateful and I would to thank Websites Seller for their support in site recovery and site transfer. Websites Seller just saved my business. Thank you!
Wouter GhysensWouter Ghysens
11:52 10 Sep 21
Looking for a Wordpress transfer from site A to site B, I found back Andrei from Wesites Seller on Google.He was very proactive in his approach, came with hundreds of ideas and lifetime experiences from other migrations. He knows the wordpress, the hosting and php database as the back of his pocket.And we worked out this migration very smooth. Together we solved it, and myself and my business are very pleased with his approach.100% recommendation & kudo's from out of Belgium!
Ioachim CiobanuIoachim Ciobanu
18:39 14 Jul 21
Websites Seller built my resume site. Deliverables were quickly completed, and I was asked for my feedback at each stage of development. All feedback I gave was implemented in a short time.Another great thing is that he comes with smart solutions, regarding stuff which I didn't initially think of (site security, Google site speed optimization and so on). Basically, he was great, staying in touch, keeping me updated and paid attention to what was most important for my site.Overall, I am very happy with the work done. I highly recommend this developer!
K CollinsK Collins
09:11 19 May 21
I needed help with website speed - to improve my core web vitals - without compromising the usability of my site. Andrei was extremely responsive, proactive and fast. And more importantly, he increased by website speed. Highly recommend him, and I will be using him going forward on all my projects.
js_loader

Services

WordPress Website Maintenance Services

WordPress Maintenance Services

WordPress website maintenance service that provides cloud backups, emergency support, weekly website updates, speed and many more.

sally

WordPress Migration Service

Safely transfer your WordPress website to a new location for $75. … Migrate your website to its new host.

lawyer-office

Lawyer Web Design

We specializes in website design, Internet marketing and SEO for lawyers and attorneys throughout the Europe and US.