A Web.com Partner
Sign Up / Log In
Online Support Web Hosting

How to Fix an Internal Server Error in WordPress

Internal Server Error, or sometimes 500 Internal Server Error, is probably one of the most confusing WordPress errors. This error occurs without any explicit cause, making it hard to address the issue, and can require a lot of troubleshooting from your end. Most of the time, this error is caused by a corrupted .htaccess file or an exhausted PHP memory limit. Some other causes include faulty plugins, corrupted core files, and incorrect file permissions.

We have compiled possible solutions to help you fix Internal Server Error, so your WordPress site runs again.

Important: The solutions given below require changes in your website files. We highly recommend you to back up your files before you proceed. To back up your files, refer to:

In this article, you’ll learn the options available for you to fix an internal server error. Click on the corresponding link to jump directly to the specific section of this page.

Check Corrupted .htaccess File

Most often, the 500 Internal Server Error is caused by a corrupted .htaccess file to check, follow the steps below.

  1. Access your File Manager.
  2. Scroll to public_html folder and locate your .htacccess file.
  3. Right-click on the .htaccess file and select Rename.
    You may also click .htaccess and select the Rename button on the upper part of the page.
  4. Rename the file as you desired.
  5. Open a browser and enter your domain to check if your site is running.
  6. If the error is gone, create a new .htaccess file by clicking + File button found at the top left side of the page.
  7. Name the file using ONLY the extension .htaccess.
  8. Click Create New File.

If the error remains, proceed to the next solutions given below.

Increase PHP Memory Limit

Internal server errors also happen if you have exhausted the PHP memory limit set by your hosting provider. To check if this is causing the error, increase the PHP memory limit. Please refer to:

Deactivate Plugins

As mentioned, faulty plugins may cause an error. To check, follow the steps below.

  1. Access your File Manager.
  2. Scroll to public_html folder and look for the wp-content folder. Then, double click on the folder.
  3. Inside the wp-content folder, right-click on plugins folder, and choose Rename.
  4. Then, rename the plugins folder, as you desired. This will deactivate all of your plugins.
  5. Check if the site works.
    If the site works, change folder name to original name (plugins).
  6. Open plugins folder by double-clicking it.
  7. Under plugins folder, rename the files one by one, and check if the site is affected as you rename. This should determine which among the plugin is causing the error.
  8. Change the file name back to original name again when you find a specific plugin is not causing the error.
  9. When you found the plugin causing the issue, deactivate that plugin.

If the issue is caused by a plugin, then it should be fixed by now. If not, continue reading.

Check File Permissions

Though unlikely, checking file permission is worth a try. Changing permissions can cause several errors, including an Internal Server Error. To check, follow the steps below.

  1. Access your File Manager.
  2. Scroll to public_html folder and locate your .htacccess file.
  3. Under the Permissions column, check if permission for your .htaccess file is set to 755 or 644.
  4. If not, change the file permission by double-clicking the permission number and changing it to 755 or 644.
  5. Click Save.

Open a browser and enter your domain to see if your site is running.

Upload Latest Version of Core Files

Re-uploading core files (wp-admin and wp-includes) should be the last resort at your end. Again, please make sure to create back up before you proceed. It is recommended that you use an FTP client for this step for your convenience. To upload the latest version of the core files, follow the steps below.

Via FTP client


  1. Download the latest version of WordPress to your computer.
  2. Double-click the zip file downloaded and Extract it.
  3. Access your FTP Client, and provide the following on the necessary fields:
    Hostname ftp.yourdomain.com
    Username Hosting Username
    Password Hosting Password
    Port 21
  4. Once you have logged in to your FTP Client, upload wp-admin and wp-includes to public_html directory for the main domain.
    If it is for an Add-on domain or a Subdomain, upload it to the corresponding folder given for such domain.
  5. Overwrite old core files.
  6. After uploading, open a browser and enter your domain and any relevant subdirectory to check if your site is running.

Via cPanel File Manager


  1. Access your File Manager.
  2. Scroll to public_html folder.
  3. Download the latest version of WordPress to your computer.
  4. Double-click the zip file downloaded and Extract it.
  5. Go back to your cPanel File Manager.
  6. On the upper part of the screen, click Upload.
  7. On the next screen, click Choose File. Upload either wp-admin or wp-includes, whichever you like to upload first.
  8. Overwrite old core files, then upload remaining files.

Open a browser and enter your domain to check if your site is running.

Contact Us

By now, your WordPress site should be working. If none of the above solved the issue, you may contact our 24/7 Support for assistance.

To prevent a 500 internal server error from happening again, we recommend you back up your site regularly and update your plugins, themes, and core files as soon as the update is available.

Congratulations! You just learned how to fix an internal server error.

Was this helpful? Yes No 47% of people found this helpful.
{"message":""}