Internal Server Error Fixes - WordPress

1.  Internal Server Error can sometime be caused by a corrupt .htaccess file.  If this is the cause of the Internal Server Errror, you can do so by renaming your main .htaccess file to something like .htaccess_old. To rename the .htaccess file, you will need to login to your site using the FTP. Once you are in, the .htaccess file will be located in the same directory where you will see folders like wp-content, wp-admin, and wp-includes.

Once you have renamed the .htaccess file, try loading your site to see if this solved the problem.

2.  If that does not fix the problem, then it is possible that you are exhausting your php memory limit.  

    1. Create a blank text file called php.ini
    2. Paste this code in there: memory=64MB
    3. Save the file
    4. Upload it into your /wp-admin/ folder using FTP
3.  If these do not fix the problem, then we recommend you check the "error log" in your cPanel control panel.  Many times Internal Server Errrors can be caused by permissions problems.  If this is the case, you need to reset them to the correct defaults you can do this with a few clicks in theFileZilla FTP Client and most other popular FTP clients. 
    1. Connect to your site via FTP or FTPS in FileZilla. Navigate to your "/public_html" directory in the "Remote site" section. Select all directories and files inside there.
    2. Right click on one of the selected items and choose "File permissions..." from the menu. Select "Recurse into subdirectories" and then enter "755" in the Numeric Value field. Choose the "Apply to directories only" option. Click OK to apply the changes and wait for the changes to be applied.
    3. Repeat step 2, but this time enter "644" in the Numeric Value field (as shown in the image below) and select "Recurse into subdirectories" and then choose the "Apply to files only" option. Click OK to apply the changes.
    4. For any script configuration files (such as Joomla's configuration.php file) manually set the permissions to "640".
    5. Your permissions will now be set correctly. Note that you should never attempt to set your permissions to 777 even if documentation for a script says that you should, it's not required with the way that our server are configured.
 
In most cases, these three fixes will solve your WordPress Internal Server Error issue.  If none of these things work, you will need to de-activate all of your WordPress plug-ins.  And in this case, most of the time if you are in this position, you are not able to login to your WordPress dashboard, so to de-activate your WordPress plug-ins, it will need to be done manually using FTP.  

Filezilla change permissions
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Resetting your password

Resetting your password in WordPress can be accomplished by following these step-by-steps for...

Restoring your database from backup

WordPress database can be restored from backup by following these step-by-step instructions for...

Viewing your WordPress site before DNS resolves

This is a great article that details step-by-step how to view a WordPress site before DNS resolves.

Permalinks do not work - How to fix

Sometimes after a WordPress migration to a different host server is performed, the Permalinks...

WordPress Export Tool

This is a link to a very easy to complete way that you can export your WordPress sites...